Skip to content

Commit 7c96ba5

Browse files
committed
FIX: potentially uninitialized local pointer variable
1 parent 8d4879f commit 7c96ba5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/n-strings.c

+1
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ static struct digest {
225225
}
226226
// in case that file-checksum is not a function or is used not yet implemented method...
227227
Trap0(RE_FEATURE_NA);
228+
return R_NONE; // some compilers don't understand, that we stop evaluation here:/
228229
}
229230

230231
if (sym > SYM_CRC32 && sym <= SYM_RIPEMD160) {

0 commit comments

Comments
 (0)