dead code und unbenutzte Variablen entfernt
Change-Id: I18b5d6a8cdf221d3a376541c01e82a1c64f10508
diff --git a/std/util/ex.c b/std/util/ex.c
index aa8509d..ded4707 100644
--- a/std/util/ex.c
+++ b/std/util/ex.c
@@ -279,10 +279,9 @@
varargs int ex(mixed text, closure func, mixed fargs, string buffer)
{
- int c, l;
+ int l;
mixed ct;
if(!text) text = "";
- c = sizeof(text);
l = sizeof(text = explode(text, "\n")) - 1;
ct = ({ CMD, text, 0, func, fargs, 0, 0});
if(!ctrl[buffer]) StartEX(0, ct);
diff --git a/std/util/pager.c b/std/util/pager.c
index abd5e63..d628ea6 100644
--- a/std/util/pager.c
+++ b/std/util/pager.c
@@ -26,7 +26,7 @@
if(pinfo[FILE]) return read_file(pinfo[TEXT], begin, c);
else
{
- int start, end, l, x;
+ int start, end;
if(member(pinfo[JUNK], begin))
{
diff --git a/std/util/ringbuffer.c b/std/util/ringbuffer.c
index b7143af..a549836 100644
--- a/std/util/ringbuffer.c
+++ b/std/util/ringbuffer.c
@@ -135,7 +135,6 @@
else
return copy(rbuffer);
}
- return 0;
}
/** Erzeugt einen neuen Ringbuffer der Groesse \a size und dem gleichen Modus