eliminate -Wextra and -pedantic warnings

This commit is contained in:
Jinhao
2016-03-15 15:46:28 +08:00
parent 8f995ee2cf
commit 6b6b527007
38 changed files with 246 additions and 197 deletions

View File

@@ -867,7 +867,7 @@ namespace paint
::DeleteObject(hBmp);
::DeleteDC(hdcMem);
#elif defined(NANA_X11)
static_cast<void>(file_utf8); //eliminate unused parameter compil warning.
#endif
}
}
@@ -1201,6 +1201,10 @@ namespace paint
if(solid)
rectangle(::nana::rectangle(r).pare_off(1), true, solid_clr);
}
//eliminate unused parameter compiler warning.
static_cast<void>(radius_x);
static_cast<void>(radius_y);
#endif
}
}