From 6a3e1eeef7fee919cdb08598691f0d64bb8faec1 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 22 Feb 2019 15:31:52 +0100 Subject: [PATCH] Library configuration validation: Enhance relaxng file, fix *.cfg files. (#1685) This fixes https://trac.cppcheck.net/ticket/8985 at least for the function configuration. Errors in configuration files found by the new relaxng file are fixed. --- cfg/cppcheck-cfg.rng | 28 +++++++++++++++++++++++----- cfg/motif.cfg | 1 - cfg/windows.cfg | 6 ++---- cfg/wxwidgets.cfg | 1 - 4 files changed, 25 insertions(+), 11 deletions(-) diff --git a/cfg/cppcheck-cfg.rng b/cfg/cppcheck-cfg.rng index 048f6b7d5..3dda44315 100644 --- a/cfg/cppcheck-cfg.rng +++ b/cfg/cppcheck-cfg.rng @@ -69,13 +69,26 @@ - - + + + + + + + + + + + + + + + @@ -91,7 +104,8 @@ - + + @@ -101,6 +115,8 @@ + + @@ -132,6 +148,8 @@ + + @@ -190,8 +208,8 @@ - - + + diff --git a/cfg/motif.cfg b/cfg/motif.cfg index 68f3800c2..c0708afcf 100644 --- a/cfg/motif.cfg +++ b/cfg/motif.cfg @@ -146,7 +146,6 @@ false - diff --git a/cfg/windows.cfg b/cfg/windows.cfg index b963a59f1..8563eb982 100644 --- a/cfg/windows.cfg +++ b/cfg/windows.cfg @@ -3650,9 +3650,8 @@ HFONT CreateFont( false - - strlen(arg1) + strlen(arg1) @@ -3666,11 +3665,10 @@ HFONT CreateFont( - false - strlen(arg1) + strlen(arg1) diff --git a/cfg/wxwidgets.cfg b/cfg/wxwidgets.cfg index c8630ea1e..4ebe8dd85 100644 --- a/cfg/wxwidgets.cfg +++ b/cfg/wxwidgets.cfg @@ -7521,7 +7521,6 @@ -