From 797e41438176de465272bef182e035cd0fe5884a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 10 Feb 2014 19:11:56 -0600 Subject: More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced --- apps/examples/nxflat/tests/struct/struct_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/examples/nxflat') diff --git a/apps/examples/nxflat/tests/struct/struct_main.c b/apps/examples/nxflat/tests/struct/struct_main.c index 2d8b51a2c..f454b8ae7 100644 --- a/apps/examples/nxflat/tests/struct/struct_main.c +++ b/apps/examples/nxflat/tests/struct/struct_main.c @@ -59,7 +59,7 @@ int dummy_scalar = DUMMY_SCALAR_VALUE2; int main(int argc, char **argv) { - const struct struct_s *mystruct = getstruct(); + const struct struct_s *mystruct; printf("Calling getstruct()\n"); mystruct = getstruct(); -- cgit v1.2.3