From: jean-pierre roux Date: Wed, 6 Jul 2011 09:00:18 +0000 (+0000) Subject: warning: NULL used in arithmetic X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ba4893ec1bd9e3dde25a07ca3cbe87d352ff6a14;p=bbtk.git warning: NULL used in arithmetic --- diff --git a/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx b/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx index 969254d..2cc637e 100755 --- a/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx +++ b/packages/vtk/src/bbvtkPolyDataWriterPlus.cxx @@ -12,7 +12,7 @@ void PolyDataWriterPlus::Process() if (!HasObserver(OBS_PRE_WRITER_1) && bbGetInputInPrePersistObs1() != NULL) AddObserver(OBS_PRE_WRITER_1, bbGetInputInPrePersistObs1()); - + // warning: NULL used in arithmetic // JPR if (!HasObserver(OBS_POST_WRITER_1) == NULL && bbGetInputInPostPersistObs1() != NULL) AddObserver(OBS_POST_WRITER_1, bbGetInputInPostPersistObs1());