Fix few missing comparisons to NULL

Change-Id: I0d2ff8e8b507d17e80669b2b59fd5b017af995ed
This commit is contained in:
Pascal Massimino
2013-04-11 00:57:31 -07:00
parent b66caee410
commit 1579989e7b
5 changed files with 9 additions and 10 deletions

View File

@ -397,7 +397,7 @@ VP8StatusCode WebPParseHeaders(WebPHeaderStructure* const headers) {
// WebPDecParams
void WebPResetDecParams(WebPDecParams* const params) {
if (params) {
if (params != NULL) {
memset(params, 0, sizeof(*params));
}
}