Index: src/InitTweak/FixInit.cpp
===================================================================
--- src/InitTweak/FixInit.cpp	(revision 13481af015ae54bf5a47cfb6924bc293de6c889b)
+++ src/InitTweak/FixInit.cpp	(revision 3859adb4d802f6f27e35aa4ed05a7c87d7ef632e)
@@ -818,6 +818,6 @@
 			// Remove const qualifier from definition and there can be no forward declarations.
 			if ( objDecl->type->is_const() ) {
-				ast::Type * fred = const_cast<ast::Type *>(objDecl->get_type());
-				fred->set_const( false );
+				// SKULLDUGGERY: change value through const pointer.
+				const_cast<ast::Type *>(objDecl->get_type())->set_const( false );
 			}
 			// originally wanted to take advantage of gcc nested functions, but
