diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-19 21:02:20 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-19 21:02:20 +0800 |
commit | 15cac7e33642ab071baf60117d201cf25a3d8982 (patch) | |
tree | 05d5eb57a0c6a783b859f55f3bb5b90baab467d7 /util | |
parent | f79ea55743a623b309a9b9326d890519212ab93b (diff) | |
download | pttbbs-15cac7e33642ab071baf60117d201cf25a3d8982.tar pttbbs-15cac7e33642ab071baf60117d201cf25a3d8982.tar.gz pttbbs-15cac7e33642ab071baf60117d201cf25a3d8982.tar.bz2 pttbbs-15cac7e33642ab071baf60117d201cf25a3d8982.tar.lz pttbbs-15cac7e33642ab071baf60117d201cf25a3d8982.tar.xz pttbbs-15cac7e33642ab071baf60117d201cf25a3d8982.tar.zst pttbbs-15cac7e33642ab071baf60117d201cf25a3d8982.zip |
remove dead code
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2648 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/shmctl.c | 5 |
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; } |