diff options
| author | David Jones | 2005-02-16 11:10:42 +0000 |
|---|---|---|
| committer | David Jones | 2005-02-16 11:10:42 +0000 |
| commit | 629f46b3fd472749d0ec82a4d2fd1228b26dc0d4 (patch) | |
| tree | 4dfc1615d79841e9f6f046a3c3c1c3cb7f49c13d /mps/code/mpslibcb.c | |
| parent | d51c32d05125013ed9064f22e599bc75ce69fe92 (diff) | |
| download | emacs-629f46b3fd472749d0ec82a4d2fd1228b26dc0d4.tar.gz emacs-629f46b3fd472749d0ec82a4d2fd1228b26dc0d4.zip | |
Mps: removing windows compiler warning
Copied from Perforce
Change: 144807
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/mpslibcb.c')
| -rw-r--r-- | mps/code/mpslibcb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mps/code/mpslibcb.c b/mps/code/mpslibcb.c index 27b9e0937a7..41bf5bcb6c7 100644 --- a/mps/code/mpslibcb.c +++ b/mps/code/mpslibcb.c | |||
| @@ -113,9 +113,7 @@ int mps_lib_callback_register(const char *name, mps_lib_function_t f) | |||
| 113 | if(NULL == name) { | 113 | if(NULL == name) { |
| 114 | return MPS_RES_FAIL; | 114 | return MPS_RES_FAIL; |
| 115 | } | 115 | } |
| 116 | if(0) { | 116 | if(EQ(name, "mps_lib_get_EOF")) { |
| 117 | /* just to make the "else if" neater. */ | ||
| 118 | } else if(EQ(name, "mps_lib_get_EOF")) { | ||
| 119 | mps_lib_callback_global.lib_get_EOF = (int(*)(void))f; | 117 | mps_lib_callback_global.lib_get_EOF = (int(*)(void))f; |
| 120 | } else if(EQ(name, "mps_lib_get_stderr")) { | 118 | } else if(EQ(name, "mps_lib_get_stderr")) { |
| 121 | mps_lib_callback_global.lib_get_stderr = (mps_lib_FILE *(*)(void))f; | 119 | mps_lib_callback_global.lib_get_stderr = (mps_lib_FILE *(*)(void))f; |