Reacted on Coverity CID 12538. Mostly cosmetic.

This commit is contained in:
Thomas Schmitt 2015-10-08 23:20:29 +02:00
parent f3b836194c
commit e5f6811795

View File

@ -421,7 +421,7 @@ int read_rr_PN(struct susp_sys_user_entry *pn, struct stat *st)
{ {
int high_shift= 0; int high_shift= 0;
if (pn == NULL || pn == NULL) { if (pn == NULL || st == NULL) {
return ISO_NULL_POINTER; return ISO_NULL_POINTER;
} }
if (pn->sig[0] != 'P' || pn->sig[1] != 'N') { if (pn->sig[0] != 'P' || pn->sig[1] != 'N') {