If the condition holds, query_string_from_args() has already returned
a talloc allocated empty string. There's no need to duplicate that.
- 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");
query = notmuch_query_create (notmuch, query_str);
if (query == NULL) {
fprintf (stderr, "Out of memory\n");