diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-20 22:40:37 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-20 22:40:37 -0700 |
commit | 6519aff957df7a69d86ed9a00707c911d60259f6 (patch) | |
tree | 7f85fc1fb047fedcafadc013022a794f363fd6d4 /notmuch.c | |
parent | aad13c3ac947a42b3e0a1923c44a927feea827f5 (diff) |
query: Remove the magic NOTMUCH_QUERY_ALL
Using the address of a static char* was clever, but really
unnecessary. An empty string is much less magic, and even
easier to understand as the way to query everything from
the database.
Diffstat (limited to 'notmuch.c')
-rw-r--r-- | notmuch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -398,7 +398,7 @@ dump_command (int argc, char *argv[]) goto DONE; } - query = notmuch_query_create (notmuch, NOTMUCH_QUERY_ALL); + query = notmuch_query_create (notmuch, ""); if (query == NULL) { fprintf (stderr, "Out of memory\n"); ret = 1; |