X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fgetl.c;h=dbabde478ed7952b8f69c1e16de8765357ef3504;hb=c427e8ca6b4c5d3d365b4ff3bb58a81e34efd217;hp=180258fced3feb85404c2c0a3031637c90bc32b1;hpb=360dcdd5b188e73cf8cf97238cc4c0c44b3e6cf8;p=pspp-builds.git diff --git a/src/libpspp/getl.c b/src/libpspp/getl.c index 180258fc..dbabde47 100644 --- a/src/libpspp/getl.c +++ b/src/libpspp/getl.c @@ -210,6 +210,7 @@ bool getl_read_line (struct source_stream *ss, struct string *line, enum getl_syntax *syntax) { + assert (ss != NULL); while (!ll_is_empty (&ss->sources)) { struct getl_source *s = current_source (ss);