mirror of https://github.com/CGAL/cgal
With g++48, with -Wall -O3, there was the following warning:
include/CGAL/Weighted_point.h:137:5: warning: '*((void*)& p +8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
wp = Weighted_point<Point,Weight>(p,w);
^
include/CGAL/Weighted_point.h:130:9: note: '*((void*)& p +8)' was declared here
Point p;
^
include/CGAL/Weighted_point.h:137:5: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
wp = Weighted_point<Point,Weight>(p,w);
^
Trivial bug-fix for master.
|
||
|---|---|---|
| .. | ||
| benchmark/Triangulation_2 | ||
| demo/Triangulation_2 | ||
| doc | ||
| examples/Triangulation_2 | ||
| include/CGAL | ||
| package_info/Triangulation_2 | ||
| test/Triangulation_2 | ||
| TODO | ||
| dont_submit | ||