# HG changeset patch # User Michael Goffioul # Date 1339526649 -3600 # Node ID 2feab289622a3f6db91acf4eb66bfd3f2111c37f # Parent 43aa8d583b02144c1f9c82021167a8d0dcd21f63 Move variable declaration at the beginning of code block. * libcruft/misc/lo-error.c (liboctave_fatal_with_id, liboctave_warning_with_id): Move variable declaration at the beginning of a code block. diff --git a/libcruft/misc/lo-error.c b/libcruft/misc/lo-error.c --- a/libcruft/misc/lo-error.c +++ b/libcruft/misc/lo-error.c @@ -110,8 +110,8 @@ void liboctave_fatal_with_id (const char *id, const char *fmt, ...) { + va_list args; (void) id; /*unused*/ - va_list args; va_start (args, fmt); verror ("fatal", fmt, args); va_end (args); @@ -131,8 +131,8 @@ void liboctave_warning_with_id (const char *id, const char *fmt, ...) { + va_list args; (void) id; /*unused*/ - va_list args; va_start (args, fmt); verror ("warning", fmt, args); va_end (args);