Fix 1 warning and 1 bug.
diff --git a/py/lexer.c b/py/lexer.c
index af41302..8088697 100644
--- a/py/lexer.c
+++ b/py/lexer.c
@@ -471,7 +471,7 @@
                         case 'r': c = 0x0d; break;
                         case 'x':
                         {
-                            uint num;
+                            uint num = 0;
                             if (!get_hex(lex, 2, &num)) {
                                 // TODO error message
                                 assert(0);
diff --git a/py/vstr.c b/py/vstr.c
index 18e6d2d..b2e46c8 100644
--- a/py/vstr.c
+++ b/py/vstr.c
@@ -190,6 +190,7 @@
     } else {
         vstr->len -= len;
     }
+    vstr->buf[vstr->len] = 0;
 }
 
 void vstr_printf(vstr_t *vstr, const char *fmt, ...) {