From e5f6811795d839394d8363dbb91b3c2c2c48543a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 8 Oct 2015 23:20:29 +0200 Subject: [PATCH] Reacted on Coverity CID 12538. Mostly cosmetic. --- libisofs/rockridge_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/rockridge_read.c b/libisofs/rockridge_read.c index e99cc17..b44c61d 100644 --- a/libisofs/rockridge_read.c +++ b/libisofs/rockridge_read.c @@ -421,7 +421,7 @@ int read_rr_PN(struct susp_sys_user_entry *pn, struct stat *st) { int high_shift= 0; - if (pn == NULL || pn == NULL) { + if (pn == NULL || st == NULL) { return ISO_NULL_POINTER; } if (pn->sig[0] != 'P' || pn->sig[1] != 'N') {