X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idlcomp%2Flanguages%2Fc%2B%2B%2Fmarshall.cc;h=ae58040cba55fd19c405063072150d5eca286e6b;hp=8ab02e0bbc786189a1483316571ba0db55496dbb;hb=b4890229f8a85f10d34090f9ff38a7de5730ce6c;hpb=ed94ee97c9872c957efa4790c4ea073f371262a6 diff --git a/idlcomp/languages/c++/marshall.cc b/idlcomp/languages/c++/marshall.cc index 8ab02e0..ae58040 100644 --- a/idlcomp/languages/c++/marshall.cc +++ b/idlcomp/languages/c++/marshall.cc @@ -82,7 +82,7 @@ void CPPFile::output_marshall_method(Struct *sym) indent.indent_level++; - file << indent; + file << indent << "__attribute__((unused)) "; cpp_output_name(file, sym); file << " *sptr;\n" << indent << "void *ptr;\n"