From 15cac7e33642ab071baf60117d201cf25a3d8982 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 19 Mar 2005 13:02:20 +0000 Subject: remove dead code git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2648 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/shmctl.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'util') 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; } -- cgit v1.2.3