unbenutzte Variablen entfernt
Change-Id: I4b31e741bf2b26dcb78d2ef9f0539952250b1006
diff --git a/items/buch/buch1.c b/items/buch/buch1.c
index 180c1c0..50a36be 100644
--- a/items/buch/buch1.c
+++ b/items/buch/buch1.c
@@ -48,8 +48,6 @@
}
int schliesse(string str) {
- string was;
-
if (!str || !id(str)) return 0;
if (!QueryProp(P_SEITE)) write("Es ist schon geschlossen.\n");
else {
@@ -75,11 +73,10 @@
int lies(string str)
{
- string was;
int seite;
notify_fail("Was willst Du lesen ? Syntax: LIES <ETWAS>.\n");
- if(!str || !id(str) || sscanf(str,"%s",was)!=1) return 0;
+ if(!str || !id(str) || sscanf(str,"%~s")!=1) return 0;
say(PL->name() + " liest in einem Buch.\n",PL);
seite = QueryProp(P_SEITE);