thorvg/src
JunsuChoi 638d69d635 sw_engine: Fix uninitialized variable
warning message
[35/42] Compiling C++ object src/libthorvg-0.dll.p/lib_sw_engine_tvgSwRaster.cpp.obj
In file included from ../src/lib/sw_engine/tvgSwRasterTexmap.h:96,
                 from ../src/lib/sw_engine/tvgSwRaster.cpp:83:
../src/lib/sw_engine/tvgSwRasterTexmapInternal.h: In function 'void _rasterPolygonImageSegment(SwSurface*, const SwImage*, const SwBBox*, int, int, uint32_t (*)(uint32_t), AASpans*)':
../src/lib/sw_engine/tvgSwRasterTexmapInternal.h:76:9: warning: 'maxx' may be used uninitialized [-Wmaybe-uninitialized]
   76 |         if (x2 > maxx) x2 = maxx;
      |         ^~
../src/lib/sw_engine/tvgSwRasterTexmapInternal.h:33:19: note: 'maxx' was declared here
   33 |     int32_t minx, maxx;
      |                   ^~~~
../src/lib/sw_engine/tvgSwRasterTexmapInternal.h:75:9: warning: 'minx' may be used uninitialized [-Wmaybe-uninitialized]
   75 |         if (x1 < minx) x1 = minx;
      |         ^~
../src/lib/sw_engine/tvgSwRasterTexmapInternal.h:33:13: note: 'minx' was declared here
   33 |     int32_t minx, maxx;
      |             ^~~~
2022-08-19 14:22:04 +09:00
..
bin Windows: use _fullpath() instead of fullpath(). 2022-08-17 19:44:05 +09:00
bindings updated copyright date. 2022-01-12 14:08:48 +09:00
examples Format code files with dos2unix, ensure newline at EOF 2022-07-10 23:21:05 +09:00
lib sw_engine: Fix uninitialized variable 2022-08-19 14:22:04 +09:00
loaders loaders raw: fix a compiler warnings on Windows. 2022-08-04 17:02:56 +09:00
savers fix OpenBSD compile issue 2022-07-13 10:28:46 +09:00
wasm updated copyright date. 2022-01-12 14:08:48 +09:00
meson.build Improve support for clang-cl on windows 2022-05-14 00:17:30 +09:00