fix null-deref warning in tokenize_on_space and promote strict-warnings to required

This commit is contained in:
Abhinav Agarwal
2026-05-20 23:36:22 -07:00
parent afbdf92fa6
commit c71eea8e68
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -102,7 +102,6 @@ jobs:
name: ${{ matrix.compiler }} / strict warnings
runs-on: ubuntu-24.04
timeout-minutes: 20
continue-on-error: true
strategy:
fail-fast: false
matrix:
+1 -1
View File
@@ -3954,7 +3954,7 @@ static char *tokenize_on_space(char *str)
start = pos;
while (pos && *pos != '\0') {
while (*pos != '\0') {
// break on space, but not on '\ '
if (*pos == ' ' && *(pos - 1) != '\\') {
break;