THRIFT-3488 warning: unused variable 'program'
Client: Go
Patch: Jens Geyer
diff --git a/compiler/cpp/src/generate/t_go_generator.cc b/compiler/cpp/src/generate/t_go_generator.cc
index 856fb53..7bcf7b1 100644
--- a/compiler/cpp/src/generate/t_go_generator.cc
+++ b/compiler/cpp/src/generate/t_go_generator.cc
@@ -3444,8 +3444,6 @@
}
string t_go_generator::type_name(t_type* ttype) {
- t_program* program = ttype->get_program();
-
string module( module_name(ttype));
if( ! module.empty()) {
return module + "." + ttype->get_name();