Do not use NULL if possible.
All checks were successful
The build was successful.

This commit is contained in:
2019-03-22 19:53:12 +01:00
parent 9d7a542aea
commit ff6c71db1c
4 changed files with 5 additions and 23 deletions

View File

@@ -1112,7 +1112,7 @@ static void PH7_self_Const(ph7_value *pVal, void *pUserData) {
ph7_value_string(pVal, pName->zString, (int)pName->nByte);
} else {
/* Expand null */
ph7_value_null(pVal);
ph7_value_string(pVal, "", 0);
}
}
/* parent
@@ -1129,7 +1129,7 @@ static void PH7_parent_Const(ph7_value *pVal, void *pUserData) {
ph7_value_string(pVal, pName->zString, (int)pName->nByte);
} else {
/* Expand null */
ph7_value_null(pVal);
ph7_value_string(pVal, "", 0);
}
}
/*