diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-05-07 19:48:04 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-05-07 19:48:04 -0700 |
commit | f872b47cb606d448766c1fa750709fd06a8a6904 (patch) | |
tree | 26a06c40c5b5375f6203e99c126d40948303f21d | |
parent | 7ff5997a990e1c82c723ac08fc2d8a70c4839619 (diff) |
Coding style cleanup to appease static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | xcmsdb.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -166,14 +166,11 @@ main(int argc, char *argv[]) exit (1); } - if (load && query) { - load = 0; - } - if (load && remove) { + if (query || remove) { load = 0; } - if (!query && !remove) { + if (load) { LoadSCCData(dpy, DefaultScreen(dpy), filename, targetFormat); } |