Commit de2a376
committed
Fixing warning in tb_edge_detector.cpp
src/tb_edge_detector.cpp: In function ‘int sc_main(int, char**)’:
src/tb_edge_detector.cpp:257:19: warning: operation on ‘localResult’ may be undefined [-Wsequence-point]
257 | localResult = localResult = (int)sqrt((float)(pow((int)localGradientX, 2)) + (float)(pow((int)localGradientY, 2)));1 parent f7573fd commit de2a376
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
0 commit comments