X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=message.cc;h=b304a22e73c2c3051665136abc3f3e25ff00d073;hp=c5a6273fdea65bd2e3a5ee41f2e57bd1b6882efc;hb=a5e619f11ffe034cfe2dc13207961ed6db5ab5ba;hpb=b3cbcea8fdfdc71c5021fac483943a45ace816d3 diff --git a/message.cc b/message.cc index c5a6273f..b304a22e 100644 --- a/message.cc +++ b/message.cc @@ -99,6 +99,9 @@ _find_prefix (const char *name) if (strcmp (name, BOOLEAN_PREFIX[i].name) == 0) return BOOLEAN_PREFIX[i].prefix; + fprintf (stderr, "Internal error: No prefix exists for '%s'\n", name); + exit (1); + return ""; }