changeset 28768:d5e0b9e3cefc

100l, remove a pointless opt = NULL assignment that made print_int crash since r28794
author reimar
date Tue, 03 Mar 2009 18:12:03 +0000
parents 8134ffd057d7
children 741f9cfcee91
files m_option.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m_option.c	Tue Mar 03 16:17:11 2009 +0000
+++ b/m_option.c	Tue Mar 03 18:12:03 2009 +0000
@@ -173,7 +173,6 @@
 }
 
 static char* print_int(const m_option_t* opt,  const void* val) {
-  opt = NULL;
   if (opt->type->size == sizeof(int64_t))
     return dup_printf("%"PRId64, *(const int64_t *)val);
   return dup_printf("%d",VAL(val));