]> git.notmuchmail.org Git - notmuch/blobdiff - show-message.c
TODO: Add note on making "notmuch new" interruptible.
[notmuch] / show-message.c
index 2d3189e33474b02e2e177827f4ab17b3459d24b3..79b02e2fd2688294591122cb44e75a868ab5183e 100644 (file)
@@ -74,15 +74,9 @@ show_message_body (const char *filename,
     GMimeParser *parser = NULL;
     GMimeMessage *mime_message = NULL;
     notmuch_status_t ret = NOTMUCH_STATUS_SUCCESS;
-    static int initialized = 0;
     FILE *file = NULL;
     int part_count = 0;
 
-    if (! initialized) {
-       g_mime_init (0);
-       initialized = 1;
-    }
-
     file = fopen (filename, "r");
     if (! file) {
        fprintf (stderr, "Error opening %s: %s\n", filename, strerror (errno));