On Mon, Mar 31, 2014 at 12:23 AM, Paul Fertser <[email protected]> wrote:
> On Sun, Mar 30, 2014 at 05:48:10PM +0200, Peter Stuge wrote:
>> [email protected] wrote:
>> > jtag/aice/aice_usb: remove unused constants
>>
>> Maybe there's a better way to pacify clang? It seems sad to delete
>> constants which might become useful later on?
>
> AFAICT in C language one just shouldn't use global const variables for
> this purpose and use preprocessor macros instead. I hope Hsiankai will
> convert the variables if that'd be useful and appropriate, I've added
> him to the review list already.

An easier way seems to be commenting out the unused ones.
In that case, the author can easily uncomment them later.


-- 
Xiaofan

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to