return isn't a function FFS
[apps/madmutt.git] / lib-ui / history.c
index b27daed..e7bcc5e 100644 (file)
@@ -82,13 +82,13 @@ const char *mutt_history_next (history_class_t hclass)
   struct history *h = &History[hclass];
 
   if (!HistSize)
-    return ("");                /* disabled */
+    return "";                /* disabled */
 
   next = h->cur + 1;
   if (next > HistSize - 1)
     next = 0;
   h->cur = h->hist[next] ? next : 0;
-  return (h->hist[h->cur] ? h->hist[h->cur] : "");
+  return h->hist[h->cur] ? h->hist[h->cur] : "";
 }
 
 const char *mutt_history_prev (history_class_t hclass)
@@ -97,7 +97,7 @@ const char *mutt_history_prev (history_class_t hclass)
   struct history *h = &History[hclass];
 
   if (!HistSize)
-    return ("");                /* disabled */
+    return "";                /* disabled */
 
   prev = h->cur - 1;
   if (prev < 0) {
@@ -107,5 +107,5 @@ const char *mutt_history_prev (history_class_t hclass)
   }
   if (h->hist[prev])
     h->cur = prev;
-  return (h->hist[h->cur] ? h->hist[h->cur] : "");
+  return h->hist[h->cur] ? h->hist[h->cur] : "";
 }