diff options
Diffstat (limited to 'src/sc_parse.c')
-rw-r--r-- | src/sc_parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sc_parse.c b/src/sc_parse.c index a0ec8a5..e1b797a 100644 --- a/src/sc_parse.c +++ b/src/sc_parse.c @@ -567,11 +567,10 @@ static void separate_newlines(SCBlock *bl) { while ( bl != NULL ) { - char *npos; const char *contents = sc_block_contents(bl); if ( contents != NULL ) { - npos = strchr(contents, '\n'); + char *npos = strchr(contents, '\n'); if ( npos != NULL ) { SCBlock *nb = NULL; if ( npos == contents ) { |