summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/shmctl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index cdecb408..9e604386 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -555,11 +555,6 @@ int showglobal(int argc, char **argv)
int i;
for( i = 0 ; GV2str[i] != NULL ; ++i )
printf("GV2.%s = %d\n", GV2str[i], SHM->GV2.v[i]);
- if(argv[1]) {
- int n=atoi(argv[1]);
- if(n>(sizeof(SHM->GV2.v)/sizeof(int)))
- n=sizeof(SHM->GV2.v)/sizeof(int);
- }
return 0;
}