Merge "toolbox: uptime: fix unused parameter warnings"
This commit is contained in:
commit
83a766373f
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ int64_t elapsedRealtime()
|
|||
return -1;
|
||||
}
|
||||
|
||||
int uptime_main(int argc, char *argv[])
|
||||
int uptime_main(int argc __attribute__((unused)),
|
||||
char *argv[] __attribute__((unused)))
|
||||
{
|
||||
float up_time, idle_time;
|
||||
char up_string[100], idle_string[100], sleep_string[100];
|
||||
|
|
Loading…
Reference in a new issue