Commit 72e486c2 authored by David Partyka's avatar David Partyka
Browse files

Merge branch 'wunused-but-set-variable' into release

parents 42408dac 8510afc9
......@@ -121,6 +121,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"vtkfreetype.*note: initialized from here"
"vtkfreetype.*warning: .* may be used uninitialized in this function"
"vtkfreetype.*note: .* was declared here"
"vtkfreetype/.*warning: .* set but not used"
# vtknetcdf occasionally has warnings for things that are not a problem.
"vtknetcdf.*warning: dereferencing type-punned pointer"
"vtknetcdf.*warning: passing argument .* of .* as .*signed due to prototype"
......@@ -206,11 +207,13 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"Utilities.vtksqlite.vtk_sqlite3.c.*warning: negative integer implicitly converted to unsigned type"
"Utilities.vtksqlite.vtk_sqlite3.c.*warning: assuming signed overflow"
"Utilities.vtksqlite.vtk_sqlite3.c.*warning: .* may be used uninitialized in this function"
"Utilities.vtksqlite.vtk_sqlite3.c.*warning: .* set but not used"
"Utilities.vtkexodus2.*warning.*assignment discards qualifiers from pointer target type"
"Utilities.vtkexodus2.*warning.*initialization discards qualifiers from pointer target type"
"Utilities.vtkexodus2.*warning.*assignment discards qualifiers from pointer target type"
"Utilities.vtkexodus2.*warning.*passing argument .* of .* as unsigned due to prototype"
"Utilities.vtkexodus2.*warning.*possible loss of data"
"Uitilties/vtkexodus2.*warning: .* set but not used"
# gcc -Wsign-conversion
"Utilities.vtkexodus2.*warning.*conversion to .* from .* may change the sign of the result"
# gcc -Wconversion
......@@ -254,14 +257,17 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"Utilities.vtkpng.*warning: variable .* might be clobbered by"
"Utilities/vtkjpeg.*warning: conversion to .* from .* may change the sign of the result"
"Utilities/vtkjpeg.*warning: conversion to .* from .* may alter its value"
"Utilities/vtkjpeg.*.warning: .* set but not used"
"Utilities/DICOMParser.*warning: conversion to .* from .* may alter its value"
"Utilities/DICOMParser.*warning: conversion to .* from .* may change the sign of the result"
# gcc -Wsign-conversion
"Utilities/vtkmetaio.*warning: conversion to '.*' from '.*' may change the sign of the result"
# gcc -Wconversion
"Utilities/vtkmetaio.*warning: conversion to '.*' from '.*' may alter its value"
"Uitilties/vtkmetaio/.*warning: .* set but not used"
# gcc -Wsign-conversion
"Utilities/vtkalglib.*warning: conversion to .* from .* may change the sign of the result"
"Uitilties/vtkalglib/.*warning: .* set but not used"
# gcc -Wsign-conversion
"Utilities/ftgl/src/.*warning: conversion to .* from .* may change the sign of the result"
# gcc -Wconversion
......@@ -275,6 +281,8 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"Utilities/mrmpi/.*warning: conversion to .* from .* may change the sign of the result"
# gcc -Wunused-result
"Utilities/mrmpi/.*warning: ignoring return value of .size_t fread.void.. size_t. size_t. FILE.... declared with attribute warn_unused_result"
"Uitilties/vtklibproj4/.*warning: .* set but not used"
)
IF(APPLE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment