summaryrefslogtreecommitdiffstats
path: root/toolbox/schedtop.c
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-08 09:31:43 -0700
committerMark Salyzyn <salyzyn@google.com>2014-05-14 12:41:24 -0700
commitaa907768af7ba9e29901d356cdcac6a436970323 (patch)
tree37b375fc862fad56969e14243bcd394d4a8e91b2 /toolbox/schedtop.c
parent3fe8afa404a4317807c7116fdab40f2506713396 (diff)
downloadsystem_core-aa907768af7ba9e29901d356cdcac6a436970323.zip
system_core-aa907768af7ba9e29901d356cdcac6a436970323.tar.gz
system_core-aa907768af7ba9e29901d356cdcac6a436970323.tar.bz2
toolbox: turn on -Werror
- Deal with some signedness issues - Deal with some size issues - Deal with NULL pointer issues - Deal with some -Wunused issues Change-Id: I1479dd90d690084491bae3475f2c547833519a57
Diffstat (limited to 'toolbox/schedtop.c')
-rw-r--r--toolbox/schedtop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/toolbox/schedtop.c b/toolbox/schedtop.c
index 0c85e76..2fccd2e 100644
--- a/toolbox/schedtop.c
+++ b/toolbox/schedtop.c
@@ -227,7 +227,6 @@ static void update_table(DIR *d, uint32_t flags)
}
for (i = 0; i < last_processes.active; i++) {
int pid = last_processes.data[i].pid;
- int tid = last_processes.data[i].tid;
for (j = 0; j < processes.active; j++)
if (pid == processes.data[j].pid)
break;
@@ -270,9 +269,6 @@ int schedtop_main(int argc, char **argv)
{
int c;
DIR *d;
- struct dirent *de;
- char *namefilter = 0;
- int pidfilter = 0;
uint32_t flags = 0;
int delay = 3000000;
float delay_f;