Description of problem: I just tried to compile package nss_db-2_2-22 with compiler flag -Wall. The compiler said ../db_load/db_load.c:810: warning: operation on `instr' may be undefined The source code is c = digitize(dbenv, *instr, &e1) << 4 | digitize(dbenv, *++instr, &e2); Much better code is c = digitize(dbenv, instr[ 0], &e1) << 4 | digitize(dbenv, instr[ 1], &e2); ++instr; Version-Release number of selected component (if applicable): nss_db-2_2-22 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This code is still broken in Fedoara Core 3, nearly a year later.
This is only a warning, not an error. The code works as expected. There's no reason to patch upstream code just to fix a warning.