From 310f67b83550e0a76fe50f28480af73ee015fe97 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 13 Feb 2007 10:23:10 +0100 Subject: [PATCH] avoid warning in optimized builds --- samples/main-debug.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/main-debug.cc b/samples/main-debug.cc index d10f5169d..dda796bd9 100644 --- a/samples/main-debug.cc +++ b/samples/main-debug.cc @@ -16,7 +16,8 @@ int main (int argc, int argv) NS3_DEBUG ("other debug output"); - int a = 0; + int a; + a = 0; NS3_ASSERT (a == 0); NS3_ASSERT_MSG (a == 0, "my msg");