checking whether a size_t page index is >= 0 is unnecessary (and generates a SGI CC warning)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-09-17 21:00:47 +00:00
parent d6b30150b2
commit 0ea2339167

View File

@@ -47,7 +47,7 @@
// ----------------------------------------------------------------------------
// check that the page index is valid
#define IS_VALID_PAGE(nPage) (((nPage) >= 0) && ((nPage) < GetPageCount()))
#define IS_VALID_PAGE(nPage) ((nPage) < GetPageCount())
// ----------------------------------------------------------------------------
// event table