Details
-
Sub-task
-
Resolution: Fixed
-
P4
-
17
-
b21
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8294283 | 15.0.10 | Yuri Nesterenko | P4 | Resolved | Fixed | b01 |
JDK-8294282 | 13.0.14 | Yuri Nesterenko | P4 | Resolved | Fixed | b01 |
JDK-8278303 | 11.0.15 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
Description
In file included from /home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine_BC_S32.c:65:
/home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine_BC_S32.c: In function 'mlib_ImageAffine_s32_1ch_bc':
/home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine.h:216:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
216 | if (SRC <= MLIB_S32_MIN) \
| ^~
/home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine.h:223:20: note: in expansion of macro 'SAT_32'
223 | #define SAT32(DST) SAT_32(DST, val0)
| ^~~~~~
/home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine_BC_S32.c:77:23: note: in expansion of macro 'SAT32'
77 | #define STORE(res, x) SAT32(res)
| ^~~~~
/home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine_BC_S32.c:202:9: note: in expansion of macro 'STORE'
202 | STORE(dstPixelPtr[0], val0);
| ^~~~~
/home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine_BC_S32.c:202:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
202 | STORE(dstPixelPtr[0], val0);
| ^~~~~~~~~~~
/home/ysuenaga/git-forked/jdk/src/java.desktop/share/native/libmlib_image/mlib_ImageAffine.h:218:5: note: in definition of macro 'SAT_32'
218 | DST = (mlib_s32) SRC
| ^~~
Attachments
Issue Links
- backported by
-
JDK-8278303 -Wmisleading-indentation happens in libmlib_image sources
- Resolved
-
JDK-8294282 -Wmisleading-indentation happens in libmlib_image sources
- Resolved
-
JDK-8294283 -Wmisleading-indentation happens in libmlib_image sources
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/c82d66c4
-
Commit openjdk/jdk13u-dev/9b4411a0
-
Commit openjdk/jdk15u-dev/285fbab9
-
Commit openjdk/jdk/49372149
-
Review openjdk/jdk11u-dev/681
-
Review openjdk/jdk13u-dev/412
-
Review openjdk/jdk15u-dev/283
-
Review openjdk/jdk/3743