From 960a670de9ca62d1412b2c5381d6e2057a7828eb Mon Sep 17 00:00:00 2001 From: "elias.bachaalany@gmail.com" Date: Mon, 28 Jul 2014 18:11:34 +0000 Subject: [PATCH] minor mods --- python.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.cpp b/python.cpp index b03e932..c4f13b7 100644 --- a/python.cpp +++ b/python.cpp @@ -1330,8 +1330,8 @@ static int idaapi on_ui_notification(void *, int code, va_list va) case ui_add_menu_item: if ( hexdsp == NULL ) { - const char *name = va_arg(va, char *); - name = va_arg(va, char *); // Drop 'menupath'. Look for 'name'. + (void)va_arg(va, char *); // Drop 'menupath' + const char *name = va_arg(va, char *); // Look for 'name'. if ( streq(name, "Jump to pseudocode") ) { init_hexrays_plugin(0);