X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/28d7544ae2adfe6467c6b64a3284f5ed13f81e1a..602ac49eaca08741b0586e98e9e26779c65163ca:/notmuch-search.c 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