removed used local var initialization
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 30 Jun 2012 14:07:01 +0000 (14:07 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 30 Jun 2012 14:07:01 +0000 (14:07 +0000)
src/lp_ws.c

index afd5bc2..ecc95cc 100644 (file)
@@ -114,7 +114,7 @@ static char *get_last_creation_date(struct bpph **list)
 struct bpph **get_bpph_list(const char *archive_url, const char *pkg_status)
 {
        char *url, *key, *tmp;
-       struct bpph **result = NULL;
+       struct bpph **result;
        struct json_object *o, *bpph_json, *o_next;
        char *created_since_date;
        int ok;