X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-search.c;h=bc9be4593ecc0a06b34e82bab62b9a034ffb9f40;hp=91b5d10596dc987cd8b3bafb18dadb17f57a7384;hb=3fed6736a7ef8b8b1f05d0fabb136bdd3b5917ee;hpb=28d7544ae2adfe6467c6b64a3284f5ed13f81e1a diff --git a/notmuch-search.c b/notmuch-search.c index 91b5d105..bc9be459 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -30,23 +30,6 @@ typedef enum { OUTPUT_TAGS } output_t; -static char * -sanitize_string (const void *ctx, const char *str) -{ - char *out, *loop; - - if (NULL == str) - return NULL; - - loop = out = talloc_strdup (ctx, str); - - for (; *loop; loop++) { - if ((unsigned char)(*loop) < 32) - *loop = '?'; - } - return out; -} - /* Return two stable query strings that identify exactly the matched * and unmatched messages currently in thread. If there are no * matched or unmatched messages, the returned buffers will be