On 09/28/2016 11:53 AM, william.c.robe...@intel.com wrote:
> From: William Roberts
>
> When building for Android, this error manifests itself:
>
> label_file.c:570:7: error: unused variable ‘subs_file’
> [-Werror=unused-variable]
> char subs_file[PATH_MAX + 1];
>
On Wed, Sep 28, 2016 at 11:53 AM, wrote:
> From: William Roberts
>
> When building for Android, this error manifests itself:
>
> label_file.c:570:7: error: unused variable ‘subs_file’
> [-Werror=unused-variable]
> char
From: William Roberts
When building for Android, this error manifests itself:
label_file.c:570:7: error: unused variable ‘subs_file’ [-Werror=unused-variable]
char subs_file[PATH_MAX + 1];
Fix it by moving the variable into the ifdef'd usage block.