yaubil.c
changeset 11 5bbf342f450a
parent 10 14987412be3b
child 12 9f7256ede8fc
--- a/yaubil.c	Thu Mar 25 21:03:23 2010 +0200
+++ b/yaubil.c	Tue Mar 30 23:39:51 2010 +0300
@@ -21,6 +21,7 @@
 
 #include <glib.h>
 #include <string.h>
+#include <stdlib.h>
 
 #include <mcabber/commands.h>
 #include <mcabber/compl.h>
@@ -163,6 +164,8 @@
 		l->str_value = res;
 	} else
 		return FALSE;
+	
+	return TRUE;
 }
 
 static gboolean op_tail (value_t *l, value_t *r)
@@ -202,6 +205,8 @@
 		l->str_value = res;
 	} else
 		return FALSE;
+	
+	return TRUE;
 }
 
 static gboolean op_plus (value_t *l, value_t *r)
@@ -800,7 +805,6 @@
 
 static void do_let (char *arg)
 {
-	char     *varname;
 	value_t  *value;
 	int       namelen;
 	char     *val     = strchr (arg, '=');