File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,10 @@ static void scan_suid_by_dir(const char * path) {
174
174
* Name: main
175
175
* Description: Main function of the program
176
176
*******************************************************************/
177
- int main () {
177
+ int main (int argc , char * argv []) {
178
+ UNUSED (argc );
179
+ UNUSED (argv );
180
+
178
181
fprintf (stdout , "[*] suid-locate (Kfiros 2015) \n" );
179
182
fprintf (stdout , "[*] Searching for SUID/SGID files in your system... \n" );
180
183
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ typedef enum {
46
46
#define UPPER_FOLDER_STRING ("..")
47
47
#define UPPER_FOLDER_LENGTH (2)
48
48
49
+ #define UNUSED (expr ) do { (void)(expr); } while (false)
50
+
49
51
/*******************************************************************
50
52
* Prototypes
51
53
*******************************************************************/
You can’t perform that action at this time.
0 commit comments