Introduction
Introduction Statistics Contact Development Disclaimer Help
code-style and consistency: remove unneeded return - sfeed_curses - sfeed curse…
git clone git://git.codemadness.org/sfeed_curses
Log
Files
Refs
README
LICENSE
---
commit 0ebfe4a085072376ad9604b8442f895569881a8a
parent c01bf03a25c90f8bb623f60ec6fa7c961997debb
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 14 Jul 2021 18:06:33 +0200
code-style and consistency: remove unneeded return
... and change a return to break (no change intended).
Diffstat:
M sfeed_curses.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -565,7 +565,7 @@ attrmode(int mode)
ttywrite(tparm(enter_reverse_mode, 0, 0, 0, 0, 0, 0, 0, 0, 0));
break;
default:
- return;
+ break;
}
}
@@ -1302,8 +1302,6 @@ feed_items_get(struct feed *f, FILE *fp, struct items *it…
itemsret->items = items;
itemsret->len = nitems;
free(line);
-
- return;
}
void
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.