diff options
Diffstat (limited to 'src/diff3.c')
-rw-r--r-- | src/diff3.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/diff3.c b/src/diff3.c index 6be7e3c..1f656b6 100644 --- a/src/diff3.c +++ b/src/diff3.c @@ -16,6 +16,14 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* As of GCC 11.2.1, gcc -Wanalyzer-too-complex reports that this + program's code is too complicated for gcc -fanalyzer. + FIXME: Compile with -DANALYZER_NULL_DEFERENCE and see whether the + resulting diagnostics are false alarms. */ +#if 10 <= __GNUC__ && !ANALYZER_NULL_DEREFERENCE +# pragma GCC diagnostic ignored "-Wanalyzer-null-dereference" +#endif + #include "system.h" #include "paths.h" |