[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cppcheck error in opendir.c
From: |
Paul Eggert |
Subject: |
Re: cppcheck error in opendir.c |
Date: |
Wed, 20 Mar 2013 08:28:18 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
On 03/20/13 03:38, Arno Onken wrote:
> The following code in opendir.c silences cppcheck:
>
> {{{
> #if !defined(HAVE_OPENDIR) && defined(REPLACE_FCHDIR)
> #error Invalid configuration!!
> #endif
> }}}
It may silence cppcheck, but I'm afraid I don't see why it's
correct or needed. Can you explain the error scenario
in more detail?