]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-new.c
CLI: make static message strings const
[notmuch] / notmuch-new.c
index 993359d603a9bf75d9e606014741ee9cc6f0d83f..1162e25a1273975c7a9c77473f5e6299e23fbc13 100644 (file)
@@ -81,7 +81,7 @@ static volatile sig_atomic_t interrupted;
 static void
 handle_sigint (unused (int sig))
 {
-    static char msg[] = "Stopping...         \n";
+    static const char msg[] = "Stopping...         \n";
 
     /* This write is "opportunistic", so it's okay to ignore the
      * result.  It is not required for correctness, and if it does