]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
cli: remove useless talloc_strdup
[notmuch] / notmuch-count.c
index 390794ff9ae45c1719e7aadcf72933ce054106e7..c2f1b7db51a34a2f4b76eb6aa6b88f74a86b26f0 100644 (file)
@@ -71,10 +71,6 @@ notmuch_count_command (notmuch_config_t *config, int argc, char *argv[])
        return 1;
     }
 
-    if (*query_str == '\0') {
-       query_str = talloc_strdup (config, "");
-    }
-
     query = notmuch_query_create (notmuch, query_str);
     if (query == NULL) {
        fprintf (stderr, "Out of memory\n");