diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-10-27 02:59:21 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-10-27 02:59:21 +0200 |
commit | 657d08d30a63536174fe9ec60b7f2cb8de541eb5 (patch) | |
tree | 9578294de51056cd536639580dd0dcecc2922c8d /src/w32reg.c | |
parent | 6e724ca2c2e36dcd30803c314319b8faf8472e7d (diff) | |
download | emacs-657d08d30a63536174fe9ec60b7f2cb8de541eb5.tar.gz |
src/image.c, src/w32*.c, lib-src/emacsclient.c: Silence warnings under -Wall.
Diffstat (limited to 'src/w32reg.c')
-rw-r--r-- | src/w32reg.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/w32reg.c b/src/w32reg.c index e1465be9e44..18374431062 100644 --- a/src/w32reg.c +++ b/src/w32reg.c @@ -147,9 +147,9 @@ x_get_string_resource (XrmDatabase rdb, char *name, char *class) { char *resource; - if (resource = w32_get_rdb_resource (rdb, name)) + if ((resource = w32_get_rdb_resource (rdb, name))) return resource; - if (resource = w32_get_rdb_resource (rdb, class)) + if ((resource = w32_get_rdb_resource (rdb, class))) return resource; } @@ -157,6 +157,5 @@ x_get_string_resource (XrmDatabase rdb, char *name, char *class) /* --quick was passed, so this is a no-op. */ return NULL; - return (w32_get_string_resource (name, class, REG_SZ)); + return w32_get_string_resource (name, class, REG_SZ); } - |