From b0d31468da7f644684be897cef5b0602ca10af0f Mon Sep 17 00:00:00 2001
From: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Sat, 3 Jan 2015 10:59:19 +0200
Subject: Change PB_RETURN_ERROR() macro to avoid compiler warnings.

Update issue 140
Status: FixedInGit
---
 tests/SConstruct | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'tests/SConstruct')

diff --git a/tests/SConstruct b/tests/SConstruct
index 9092d4f8..9c222daa 100644
--- a/tests/SConstruct
+++ b/tests/SConstruct
@@ -121,9 +121,6 @@ elif 'cl' in env['CC']:
     
     # More strict checks on the nanopb core
     env.Append(CORECFLAGS = '/W4')
-    
-    # PB_RETURN_ERROR triggers C4127 because of while(0)
-    env.Append(CFLAGS = '/wd4127')
 elif 'tcc' in env['CC']:
     # Tiny C Compiler
     env.Append(CFLAGS = '-Wall -Werror -g')
-- 
cgit 1.2.3-korg