summaryrefslogtreecommitdiff
path: root/src/bitmap/snfread.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-01-27 11:12:09 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-03 02:48:03 +0000
commit42d2b5add560ad9a14f36c5f628e83a39ac89f47 (patch)
tree2c28bd39b5fee5c3d496790784a56bc60d01b247 /src/bitmap/snfread.c
parent87b05995a861f75e38b889659a56b13485e58ce2 (diff)
bitscale.c: ensure SCORE2 macro expands properly
Handles warning from Oracle Parfait 11.2 static analyzer: Error: Misleading macro Misleading macro [misleading-macro]: misleading evaluation of '/' operator in expansion of macro SCORE2 due to missing parentheses at line 299 of src/bitmap/bitscale.c. '/' operator has lower precedence than '/' operator inside macro body at line 438 low precedence '/' operator is hidden by expansion of macro argument m at line 299 Misleading macro [misleading-macro]: misleading evaluation of '/' operator in expansion of macro SCORE2 due to missing parentheses at line 299 of src/bitmap/bitscale.c. binary '*' operator has lower precedence than '/' operator inside macro body at line 440 low precedence binary '*' operator is hidden by expansion of macro argument m at line 299 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/bitmap/snfread.c')
0 files changed, 0 insertions, 0 deletions