Commit c36c9b9e authored by Yann Diorcet's avatar Yann Diorcet
Browse files

Fix uninitialized in xml2lpc_test

parent cdc8c66f
...@@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "xml2lpc.h" #include "xml2lpc.h"
void cb_function(void *ctx, xml2lpc_log_level level, const char *msg, va_list list) { void cb_function(void *ctx, xml2lpc_log_level level, const char *msg, va_list list) {
const char *header; const char *header = "";
switch(level) { switch(level) {
case XML2LPC_DEBUG: case XML2LPC_DEBUG:
header = "DEBUG"; header = "DEBUG";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment