Commit f57e8133 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1062] style fix: check NULL explicitly.

parent 774a56a8
......@@ -354,7 +354,7 @@ convertToPlainChar(const unsigned char* ucp,
// The field can really be NULL, in which case we return an
// empty string, or sqlite may have run out of memory, in
// which case we raise an error
if (dbparameters &&
if (dbparameters != NULL &&
sqlite3_errcode(dbparameters->db_) == SQLITE_NOMEM) {
isc_throw(DataSourceError,
"Sqlite3 backend encountered a memory allocation "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment