X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f331691d426fef30965f9dd802c9a4fc87d785b..3527f29c8769e09d796c547c0c309f8b86407012:/contrib/src/ogl/constrnt.cpp diff --git a/contrib/src/ogl/constrnt.cpp b/contrib/src/ogl/constrnt.cpp index c5e5650f09..ddd736d643 100644 --- a/contrib/src/ogl/constrnt.cpp +++ b/contrib/src/ogl/constrnt.cpp @@ -386,8 +386,6 @@ bool wxOGLConstraint::Evaluate() node = node->GetNext(); } return changed; - - return FALSE; } case gyCONSTRAINT_ABOVE: { @@ -480,8 +478,10 @@ bool wxOGLConstraint::Evaluate() node = node->GetNext(); } return changed; - + #if 0 + // two returned values ? return FALSE; + #endif } case gyCONSTRAINT_ALIGNED_TOP: { @@ -568,8 +568,10 @@ bool wxOGLConstraint::Evaluate() node = node->GetNext(); } return changed; - + #if 0 + // two returned values ? return FALSE; + #endif } case gyCONSTRAINT_MIDALIGNED_TOP: { @@ -611,9 +613,11 @@ bool wxOGLConstraint::Evaluate() } return changed; } - + #if 0 + // default value handled in main function body default: return FALSE; + #endif } return FALSE; }