Add __attribute__((unused)) on __dummyFunctionForLinking().

Fred: I think this function is completely pointless, and should actually just be removed.  Looking at the age, it seems to have been added to work around some toolchain limitations that may have existed 15 years ago.  Can you take a look, and either remove it, or add a comment explaining why it's needed?



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32353 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2011-02-24 13:34:21 +00:00
parent a278bc778a
commit 8185bfdbf4

View file

@ -212,6 +212,7 @@ BOOL _fileOwnerDecoded = NO;
#if GNU_RUNTIME
#include "IMConnectors.h"
__attribute__((unused))
static void __dummyFunctionForLinking (void)
{
[IMCustomObject new];