Fix compilation warning from SWIG_Python_NonDynamicSetAttr

clang complains about an uninitialised variable, which is easy to fix.  Here's the patch