aboutsummaryrefslogtreecommitdiffstats
path: root/storage.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-12-25 23:17:28 -0300
committerdequis <dx@dxzone.com.ar>2016-12-26 19:38:32 -0300
commit90a45b8fc30a0b8b96c60926e638291fc0d0fa08 (patch)
treebcbee9fddfbdd147f682c4088d91dd84e1fcb287 /storage.c
parent26eed8a46e4464a46a8a0383ceabeb8f54dcc7fb (diff)
Fix some clang static analyzer warnings
Nothing interesting.
Diffstat (limited to 'storage.c')
-rw-r--r--storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage.c b/storage.c
index ab7ba44b..9e0f8345 100644
--- a/storage.c
+++ b/storage.c
@@ -73,7 +73,7 @@ GList *storage_init(const char *primary, char **migrate)
register_storage_backend(&storage_xml);
storage = storage_init_single(primary);
- if (storage == NULL && storage->save == NULL) {
+ if (storage == NULL || storage->save == NULL) {
return NULL;
}