[lld] r192084 - [lld][Darwin] Fix unused field warning.

Rui Ueyama ruiu at google.com
Mon Oct 7 14:30:56 PDT 2013


This does not seem very good. Why don't you remove the field instead?

On Sun, Oct 6, 2013 at 8:18 PM, Shankar Easwaran <shankare at codeaurora.org>wrote:

> Author: shankare
> Date: Sun Oct  6 22:18:33 2013
> New Revision: 192084
>
> URL: http://llvm.org/viewvc/llvm-project?rev=192084&view=rev
> Log:
> [lld][Darwin] Fix unused field warning.
>
> This field would eventually be used.
>
> Modified:
>     lld/trunk/include/lld/Driver/DarwinInputGraph.h
>
> Modified: lld/trunk/include/lld/Driver/DarwinInputGraph.h
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Driver/DarwinInputGraph.h?rev=192084&r1=192083&r2=192084&view=diff
>
> ==============================================================================
> --- lld/trunk/include/lld/Driver/DarwinInputGraph.h (original)
> +++ lld/trunk/include/lld/Driver/DarwinInputGraph.h Sun Oct  6 22:18:33
> 2013
> @@ -67,6 +67,9 @@ public:
>        if (!ec)
>          return ec;
>      }
> +
> +    (void) (_isWholeArchive);
> +
>      return llvm::error_code::success();
>    }
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131007/ad1a6f5d/attachment.html>


More information about the llvm-commits mailing list