Initialize the return object to Qnil
[sxemacs] / src / lstream.c
index 049f0d3..d70c64c 100644 (file)
@@ -985,7 +985,7 @@ static Lisp_Object
 make_filedesc_stream_1(int filedesc, int offset, int count, int flags,
                       const char *mode)
 {
-       Lisp_Object obj;
+       Lisp_Object obj = Qnil;
         if (filedesc < 0)
                return obj;
        lstream_t lstr = Lstream_new(lstream_filedesc, mode);