Remove a C++-ism that slipped into the code during the recent CHECK
enhancements.  Ticket #1513. (CVS 2762)

FossilOrigin-Name: e66289b52f56c8242aa264a9365c834cd820e988
diff --git a/src/expr.c b/src/expr.c
index cce2a66..ba25a5a 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -12,7 +12,7 @@
 ** This file contains routines used for analyzing expressions and
 ** for generating VDBE code that evaluates expressions in SQLite.
 **
-** $Id: expr.c,v 1.235 2005/11/03 12:33:28 drh Exp $
+** $Id: expr.c,v 1.236 2005/11/05 15:07:56 drh Exp $
 */
 #include "sqliteInt.h"
 #include <ctype.h>
@@ -1188,12 +1188,12 @@
 #endif
     case TK_IN: {
       if( pExpr->pSelect ){
+        int nRef = pNC->nRef;
 #ifndef SQLITE_OMIT_CHECK
         if( pNC->isCheck ){
           sqlite3ErrorMsg(pParse,"subqueries prohibited in CHECK constraints");
         }
 #endif
-        int nRef = pNC->nRef;
         sqlite3SelectResolve(pParse, pExpr->pSelect, pNC);
         assert( pNC->nRef>=nRef );
         if( nRef!=pNC->nRef ){