diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 0e2b021015..d13ff924d5 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2011-10-17 Ralf Corsépius + * libmisc/shell/main_ls.c: Comment out unused var kflag. * posix/src/ualarm.c: Make _POSIX_signals_Ualarm_TSR static. 2011-10-12 Ralf Corsépius diff --git a/cpukit/libmisc/shell/main_ls.c b/cpukit/libmisc/shell/main_ls.c index 08072fb723..0b5703637a 100644 --- a/cpukit/libmisc/shell/main_ls.c +++ b/cpukit/libmisc/shell/main_ls.c @@ -153,7 +153,9 @@ main_ls(rtems_shell_ls_globals* globals, int argc, char *argv[]) static char dot[] = ".", *dotav[] = { dot, NULL }; //struct winsize win; int ch, fts_options; +#if RTEMS_REMOVED int kflag = 0; +#endif const char *p; struct getopt_data getopt_reent; @@ -267,7 +269,9 @@ main_ls(rtems_shell_ls_globals* globals, int argc, char *argv[]) break; case 'k': blocksize = 1024; +#if RTEMS_REMOVED kflag = 1; +#endif break; /* The -h option forces all sizes to be measured in bytes. */ case 'h':