From 752dba06d1e589e9f0e738c4f4cd15a5d084bae4 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 10 Oct 2012 11:51:23 +0200 Subject: [PATCH 1/1] An empty body for this if statement looks wrong. --- src/surf/storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/storage.c b/src/surf/storage.c index 107208bdb7..cf54feb376 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -79,7 +79,7 @@ static surf_action_t storage_action_ls(void *storage, const char* path) else { // if directory does not exist yet in dict - if(!xbt_dict_get_or_null(ls_dict,file)); + if(!xbt_dict_get_or_null(ls_dict,file)) xbt_dict_set(ls_dict,file,NULL,NULL); } xbt_dynar_free(&dyn); -- 2.20.1