diff --git a/Examples/BasicFilters/DEMToRainbowExample.cxx b/Examples/BasicFilters/DEMToRainbowExample.cxx index 0225f9e70e495b87f38d87c2a9020d1782b73ffc..5a90d548a3c539ed97cbc46fa54b75b28afd86ab 100644 --- a/Examples/BasicFilters/DEMToRainbowExample.cxx +++ b/Examples/BasicFilters/DEMToRainbowExample.cxx @@ -130,5 +130,5 @@ int main(int argc, char * argv[]) - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx b/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx index 231f1b33855372c2b3cc2eef60a248193b1739f8..30348aab09720cf338fcc1609f79dde873a3c3d5 100644 --- a/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx +++ b/Examples/ChangeDetection/ChangeDetectionFrameworkExample.cxx @@ -283,7 +283,7 @@ int main(int argc, char* argv[] ) // SoftwareGuide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/ChangeDetection/CorrelChDet.cxx b/Examples/ChangeDetection/CorrelChDet.cxx index c2441a7d610f73aef3ef88b7f486957b48e96e48..53516fcbcffe7434cd7ef678833d95491f6dbc1b 100644 --- a/Examples/ChangeDetection/CorrelChDet.cxx +++ b/Examples/ChangeDetection/CorrelChDet.cxx @@ -225,7 +225,7 @@ int main(int argc, char* argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/ChangeDetection/DiffChDet.cxx b/Examples/ChangeDetection/DiffChDet.cxx index 9b275bc487faab3295f3eff06953a26a5be1e622..9c8cb8fb00ad2dfea4f0d0424b14162f476d2cc7 100644 --- a/Examples/ChangeDetection/DiffChDet.cxx +++ b/Examples/ChangeDetection/DiffChDet.cxx @@ -244,7 +244,7 @@ int main(int argc, char* argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/ChangeDetection/JHMIChDet.cxx b/Examples/ChangeDetection/JHMIChDet.cxx index c7df24644a0f518b0e06d1da90a97b3d0f658d19..2c8b25a77f7d8faa5b7cf9e0fe8d3c1e19080853 100644 --- a/Examples/ChangeDetection/JHMIChDet.cxx +++ b/Examples/ChangeDetection/JHMIChDet.cxx @@ -112,7 +112,7 @@ int main(int argc, char* argv[] ) } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/ChangeDetection/LHMIChDet.cxx b/Examples/ChangeDetection/LHMIChDet.cxx index b875672061ca1e7543c48def9da44719a9f43f5c..3809594dfbf1853dff58ee8d9e374dedcedb2280 100644 --- a/Examples/ChangeDetection/LHMIChDet.cxx +++ b/Examples/ChangeDetection/LHMIChDet.cxx @@ -103,7 +103,7 @@ int main(int argc, char* argv[] ) } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/ChangeDetection/RatioChDet.cxx b/Examples/ChangeDetection/RatioChDet.cxx index aee5fdb8eed69f58787641b2fac97920866d1b52..dc79823ec2c4583d21b70e346c319cf2220ae27f 100644 --- a/Examples/ChangeDetection/RatioChDet.cxx +++ b/Examples/ChangeDetection/RatioChDet.cxx @@ -232,7 +232,7 @@ int main(int argc, char* argv[] ) - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Classification/BayesianPluginClassifier.cxx b/Examples/Classification/BayesianPluginClassifier.cxx index 114182cf5bcd5f31fc8c791d302bef59307528dd..20d5f3ef29bc3fe5a6f143b8c7e42b6d283e11fe 100644 --- a/Examples/Classification/BayesianPluginClassifier.cxx +++ b/Examples/Classification/BayesianPluginClassifier.cxx @@ -334,7 +334,7 @@ int main( int, char *[]) } // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx b/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx index 4d155714ffd908e93f9eb53757be83bf421513e6..f2b0152b4fb2047769c006283cb39cc71c895454 100644 --- a/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx +++ b/Examples/Classification/ExpectationMaximizationMixtureModelEstimator.cxx @@ -258,7 +258,7 @@ int main() } // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Classification/KdTreeBasedKMeansClustering.cxx b/Examples/Classification/KdTreeBasedKMeansClustering.cxx index 1c5e6069da45def8e962e01a0fad90f53ec15d30..225d617d7799c406ebb1a25e8aa42993a8963d3c 100644 --- a/Examples/Classification/KdTreeBasedKMeansClustering.cxx +++ b/Examples/Classification/KdTreeBasedKMeansClustering.cxx @@ -373,7 +373,7 @@ int main() } // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/Image1.cxx b/Examples/DataRepresentation/Image/Image1.cxx index 884c6b9b561c1fdd57da433af9284e9290311ed4..f66869c03c0cf3ee05904c9c5b630e5f0f462b20 100644 --- a/Examples/DataRepresentation/Image/Image1.cxx +++ b/Examples/DataRepresentation/Image/Image1.cxx @@ -179,6 +179,6 @@ int main(int, char *[]) image->Allocate(); // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/Image2.cxx b/Examples/DataRepresentation/Image/Image2.cxx index a7d6544650b2cdc12e7617095ff686e3582df673..eef50f9083fd54479b01f7f3d2b424480abd8e91 100644 --- a/Examples/DataRepresentation/Image/Image2.cxx +++ b/Examples/DataRepresentation/Image/Image2.cxx @@ -159,6 +159,6 @@ int main( int , char * argv[]) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/Image3.cxx b/Examples/DataRepresentation/Image/Image3.cxx index afdb73fa5569a1c417aa2bbd184c40c308c995bd..a3db744a424239cb3433bb02ca8b2df8dca88404 100644 --- a/Examples/DataRepresentation/Image/Image3.cxx +++ b/Examples/DataRepresentation/Image/Image3.cxx @@ -142,7 +142,7 @@ int main(int, char *[]) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/Image4.cxx b/Examples/DataRepresentation/Image/Image4.cxx index 615b3769fe57ec724b4040b28ea70eff50267504..f0f94bc53cd317dba0893fedeb938cdf8d9008f4 100644 --- a/Examples/DataRepresentation/Image/Image4.cxx +++ b/Examples/DataRepresentation/Image/Image4.cxx @@ -292,6 +292,6 @@ int main(int, char *[]) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/Image5.cxx b/Examples/DataRepresentation/Image/Image5.cxx index a5b187846eaf7df03f17b54e9390e854f74e1685..b1ea8951f9eac02737e5ebd02e0495cadae5da2e 100644 --- a/Examples/DataRepresentation/Image/Image5.cxx +++ b/Examples/DataRepresentation/Image/Image5.cxx @@ -282,6 +282,6 @@ int main(int argc, char * argv[]) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/Image6.cxx b/Examples/DataRepresentation/Image/Image6.cxx index 99c4c95516cb237cce178abf0836a951e7d54035..a1e691135cf35298bf91fa249886e770d7e457de 100644 --- a/Examples/DataRepresentation/Image/Image6.cxx +++ b/Examples/DataRepresentation/Image/Image6.cxx @@ -294,6 +294,6 @@ int main(int argc, char * argv[]) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/ImageAdaptor1.cxx b/Examples/DataRepresentation/Image/ImageAdaptor1.cxx index c4e1b087b850888c7fa65df70957f8066a80e115..db2bc975849c80d3d49d1dd5750050fefe786446 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor1.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor1.cxx @@ -185,7 +185,7 @@ std::cout << "Sum of pixels is: " << sum << std::endl; // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/ImageAdaptor2.cxx b/Examples/DataRepresentation/Image/ImageAdaptor2.cxx index 2623dc3528dbf90f93428e34200a0ca89197a6e0..1d975144b17fd1e25508b7eea6cc5929562f7f79 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor2.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor2.cxx @@ -256,7 +256,7 @@ int main( int argc, char *argv[] ) - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/ImageAdaptor3.cxx b/Examples/DataRepresentation/Image/ImageAdaptor3.cxx index f4476dc682a5cc150dcdf2d6bbbf802594e18d0b..c6ef148da2ce076032a517e15610bff1333fca5e 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor3.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor3.cxx @@ -229,7 +229,7 @@ int main( int argc, char *argv[] ) - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/ImageAdaptor4.cxx b/Examples/DataRepresentation/Image/ImageAdaptor4.cxx index c67dbc50138da8da3735ba000177cb68d5d7271d..5b628b29de9a397d2bd0ec70384bb7eb93f8f620 100644 --- a/Examples/DataRepresentation/Image/ImageAdaptor4.cxx +++ b/Examples/DataRepresentation/Image/ImageAdaptor4.cxx @@ -225,7 +225,7 @@ int main( int argc, char *argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/RGBImage.cxx b/Examples/DataRepresentation/Image/RGBImage.cxx index 74ba4e38cbc03459d2f50d782016af5a66fb852c..e55f7dbe4690e69efb9d77d11ee032fdc814479d 100644 --- a/Examples/DataRepresentation/Image/RGBImage.cxx +++ b/Examples/DataRepresentation/Image/RGBImage.cxx @@ -167,6 +167,6 @@ int main( int , char * argv[] ) // querying pixel value by clicking with the mouse. // - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Image/VectorImage.cxx b/Examples/DataRepresentation/Image/VectorImage.cxx index e3851b43be94dc745d8ca391c123fe828c73f3b9..54ccfd6c111d8ad1f0091765cab02bc23d08e812 100644 --- a/Examples/DataRepresentation/Image/VectorImage.cxx +++ b/Examples/DataRepresentation/Image/VectorImage.cxx @@ -165,6 +165,6 @@ int main(int, char *[]) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Mesh/Mesh1.cxx b/Examples/DataRepresentation/Mesh/Mesh1.cxx index 7d2b971015de46cc3cb8fdf613c9417352a872ee..4987214a07d09e58df2f9ef7abf594ce84173be0 100644 --- a/Examples/DataRepresentation/Mesh/Mesh1.cxx +++ b/Examples/DataRepresentation/Mesh/Mesh1.cxx @@ -228,6 +228,6 @@ int main(int, char *[]) } // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Mesh/Mesh2.cxx b/Examples/DataRepresentation/Mesh/Mesh2.cxx index 2d78c5c9724f94c289a8f6c7bf57318502b73900..563876a95913d527256b82cab55140f9c4e6cf20 100644 --- a/Examples/DataRepresentation/Mesh/Mesh2.cxx +++ b/Examples/DataRepresentation/Mesh/Mesh2.cxx @@ -327,6 +327,6 @@ int main(int, char *[]) } // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Mesh/Mesh3.cxx b/Examples/DataRepresentation/Mesh/Mesh3.cxx index 665c8904851874d199ff3cc9776c9fed9db96cfe..016399fd9cbd2bb2deccf8c649c01e2706f2c4ee 100644 --- a/Examples/DataRepresentation/Mesh/Mesh3.cxx +++ b/Examples/DataRepresentation/Mesh/Mesh3.cxx @@ -242,6 +242,6 @@ int main(int, char *[]) } // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Mesh/PointSet1.cxx b/Examples/DataRepresentation/Mesh/PointSet1.cxx index fdaefb872130a4221b6e57e54893370e3fdaacf0..1aae40abf37212efb873003b95acd0b014c8afe9 100644 --- a/Examples/DataRepresentation/Mesh/PointSet1.cxx +++ b/Examples/DataRepresentation/Mesh/PointSet1.cxx @@ -217,7 +217,7 @@ int main(int, char *[]) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Mesh/PointSet2.cxx b/Examples/DataRepresentation/Mesh/PointSet2.cxx index 8cf0fa2b0aac3eb148adae4c0daec12514bd838a..a4b1fa8d574ccba23ffe5b15d17e99304fa95dc3 100644 --- a/Examples/DataRepresentation/Mesh/PointSet2.cxx +++ b/Examples/DataRepresentation/Mesh/PointSet2.cxx @@ -237,7 +237,7 @@ int main(int, char *[]) std::cout << pointSet->GetPoints()->Size() << std::endl; // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Mesh/PointSet3.cxx b/Examples/DataRepresentation/Mesh/PointSet3.cxx index 733bb08dc2489642b28075ecd816cfedd568f5f9..372bf740fa46a8aeecc1530cf866d9fa03b9fc86 100644 --- a/Examples/DataRepresentation/Mesh/PointSet3.cxx +++ b/Examples/DataRepresentation/Mesh/PointSet3.cxx @@ -269,7 +269,7 @@ int main(int, char *[]) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx b/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx index 080c0e915dc21f8d0988032515aacbc29c065ca6..4a5093247987881f68fb69417aca5ad57ca26ec6 100644 --- a/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx +++ b/Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx @@ -196,7 +196,7 @@ int main(int, char *[]) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx b/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx index 86f4f4a82ade1399ec63df4d4c86b34fbacd3b0e..c13931c8aa117053543e7094784b5bb639656ad8 100644 --- a/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx +++ b/Examples/DataRepresentation/Path/PolyLineParametricPath1.cxx @@ -130,6 +130,6 @@ int main(int argc, char * argv [] ) // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/FeatureExtraction/ScaleInvariantFeatureImageFilter.cxx b/Examples/FeatureExtraction/ScaleInvariantFeatureImageFilter.cxx index d46828e0ba1ba123d57702c9cbe51a35566a04ba..597bfcb382e43273e36eefe0e829f1286a898711 100644 --- a/Examples/FeatureExtraction/ScaleInvariantFeatureImageFilter.cxx +++ b/Examples/FeatureExtraction/ScaleInvariantFeatureImageFilter.cxx @@ -248,5 +248,5 @@ int main( int argc, char *argv[]) siftFilter2.MatchKeypointsPos(keypoints1, keypoints2, inv_test_transform); siftFilter2.MatchKeypointsFeatures(keypoints1, keypoints2, inv_test_transform); } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Filtering/CompositeFilterExample.cxx b/Examples/Filtering/CompositeFilterExample.cxx index cf4d8d51ffc41e633ce2d246d9f6bce12bf4681f..43f7ba852927070caeddc692916dda681693fccc 100644 --- a/Examples/Filtering/CompositeFilterExample.cxx +++ b/Examples/Filtering/CompositeFilterExample.cxx @@ -301,5 +301,5 @@ int main( int argc, char* argv[] ) std::cerr << "Error: " << e << std::endl; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Fusion/BayesianFusionImageFilter.cxx b/Examples/Fusion/BayesianFusionImageFilter.cxx index 46186593a7a7ac18ace93cf3ed2cb2ad3abf6b82..9babb103eb33b13b52386e51bc62b5c0f6dc4981 100644 --- a/Examples/Fusion/BayesianFusionImageFilter.cxx +++ b/Examples/Fusion/BayesianFusionImageFilter.cxx @@ -358,5 +358,5 @@ int main( int argc, char *argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/IO/ImageSeriesIOExample.cxx b/Examples/IO/ImageSeriesIOExample.cxx index f8c34bf8b61e3be2900c790ddd9d9248729bc9ac..9b1fd0c5af281ac83bfd1033a458d49b4faea3b1 100644 --- a/Examples/IO/ImageSeriesIOExample.cxx +++ b/Examples/IO/ImageSeriesIOExample.cxx @@ -212,5 +212,5 @@ int main(int argc, char** argv) // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Installation/HelloWorld.cxx b/Examples/Installation/HelloWorld.cxx index d3db26d4fd77568f383bdbd44d5e35a2b59462b0..b55bc7ea0d84341fa99d28c3c24a02a8ec342c88 100644 --- a/Examples/Installation/HelloWorld.cxx +++ b/Examples/Installation/HelloWorld.cxx @@ -36,7 +36,7 @@ int main() std::cout << "OTB Hello World !" << std::endl; - return 0; + return EXIT_SUCCESS; } // Software Guide : EndCodeSnippet diff --git a/Examples/Iterators/ImageLinearIteratorWithIndex.cxx b/Examples/Iterators/ImageLinearIteratorWithIndex.cxx index 46ca8c5473152e6b824e1013550f82af7d33fc02..0757d032cb9b34bc6f0d22caa985de36f0021548 100644 --- a/Examples/Iterators/ImageLinearIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageLinearIteratorWithIndex.cxx @@ -229,5 +229,5 @@ int main( int argc, char *argv[] ) // \index{itk::ImageLinearIteratorWithIndex!example of using|)} // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx b/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx index 6a8a8d8378fcdc7547a1fe413c97604da04cbcea..c02f0de6b491fb8d1293eb8967e8e4a9009a0a79 100644 --- a/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageRandomConstIteratorWithIndex.cxx @@ -150,5 +150,5 @@ int main( int argc, char *argv[] ) // \index{itk::Image\-Random\-Const\-Iterator\-With\-Index!example of using|)} // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/ImageRegionIterator.cxx b/Examples/Iterators/ImageRegionIterator.cxx index 32d521c654852d48709f0f5ec2f25c14a9be8b1a..da19a26cedf7fd154d866be9b2f3a93a3b4269d7 100644 --- a/Examples/Iterators/ImageRegionIterator.cxx +++ b/Examples/Iterators/ImageRegionIterator.cxx @@ -266,7 +266,7 @@ int main( int argc, char *argv[] ) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/ImageRegionIteratorWithIndex.cxx b/Examples/Iterators/ImageRegionIteratorWithIndex.cxx index b364322456b4ceb71ccf665a13f064291051501b..92ce2b73f23f83b189e10b9fca32dbfdd5a072f3 100644 --- a/Examples/Iterators/ImageRegionIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageRegionIteratorWithIndex.cxx @@ -186,5 +186,5 @@ int main( int argc, char *argv[] ) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/ImageSliceIteratorWithIndex.cxx b/Examples/Iterators/ImageSliceIteratorWithIndex.cxx index 4a77d9b6f0c42764ff0a5d93b55bbe6155554622..d250142dbf5fc86acf6f4a610db6f907ac8c5886 100644 --- a/Examples/Iterators/ImageSliceIteratorWithIndex.cxx +++ b/Examples/Iterators/ImageSliceIteratorWithIndex.cxx @@ -322,5 +322,5 @@ int main( int argc, char *argv[] ) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/NeighborhoodIterators1.cxx b/Examples/Iterators/NeighborhoodIterators1.cxx index 36214e0519a61da10a1c965040c7dc3a1e9b92b7..092b6158a7e8b843bc6f67613eb8cf3a4644f2e5 100644 --- a/Examples/Iterators/NeighborhoodIterators1.cxx +++ b/Examples/Iterators/NeighborhoodIterators1.cxx @@ -249,6 +249,6 @@ int main( int argc, char *argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/NeighborhoodIterators2.cxx b/Examples/Iterators/NeighborhoodIterators2.cxx index 843fa3d6ce6fd7a49dc17cdec76226578f8b5403..8c3fad4b7a4a287c30d3e2650f43dca774d0c4c6 100644 --- a/Examples/Iterators/NeighborhoodIterators2.cxx +++ b/Examples/Iterators/NeighborhoodIterators2.cxx @@ -186,5 +186,5 @@ int main( int argc, char ** argv ) return -1; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/NeighborhoodIterators3.cxx b/Examples/Iterators/NeighborhoodIterators3.cxx index 0cf8f143009df497719b0353a304a72b708da946..798414f5146e78caa055c0a692505c7332d349a0 100644 --- a/Examples/Iterators/NeighborhoodIterators3.cxx +++ b/Examples/Iterators/NeighborhoodIterators3.cxx @@ -226,5 +226,5 @@ int main( int argc, char ** argv ) return -1; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/NeighborhoodIterators4.cxx b/Examples/Iterators/NeighborhoodIterators4.cxx index 3480c9d26853966edfd8f166de5240a85d6cf2a1..41910da2f713cd3818133f98b4798ef2785489f5 100644 --- a/Examples/Iterators/NeighborhoodIterators4.cxx +++ b/Examples/Iterators/NeighborhoodIterators4.cxx @@ -229,5 +229,5 @@ int main( int argc, char *argv[] ) return -1; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/NeighborhoodIterators5.cxx b/Examples/Iterators/NeighborhoodIterators5.cxx index aff76dac306f815dde6ed8996d1966ad6eb205c7..9eb2957c1bc0a9f2b6bf6b8bd6910ed94636570e 100644 --- a/Examples/Iterators/NeighborhoodIterators5.cxx +++ b/Examples/Iterators/NeighborhoodIterators5.cxx @@ -214,5 +214,5 @@ int main( int argc, char ** argv ) return -1; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/NeighborhoodIterators6.cxx b/Examples/Iterators/NeighborhoodIterators6.cxx index c9708db7aadec0945f64e55a10abd16d39bacc93..b4acb971fdb9f83d9288657d5a9464b7e8fcbed5 100644 --- a/Examples/Iterators/NeighborhoodIterators6.cxx +++ b/Examples/Iterators/NeighborhoodIterators6.cxx @@ -248,5 +248,5 @@ int main( int argc, char *argv[] ) std::cout << err << std::endl; return -1; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/ShapedNeighborhoodIterators1.cxx b/Examples/Iterators/ShapedNeighborhoodIterators1.cxx index 2621ed996c40d195ca631be7a344c15ba32370cb..8a38b5017693f8f105562da0c1ff0beabc2535f6 100644 --- a/Examples/Iterators/ShapedNeighborhoodIterators1.cxx +++ b/Examples/Iterators/ShapedNeighborhoodIterators1.cxx @@ -250,5 +250,5 @@ int main( int argc, char ** argv ) return -1; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Iterators/ShapedNeighborhoodIterators2.cxx b/Examples/Iterators/ShapedNeighborhoodIterators2.cxx index d6a6f16e0737f47512c941d5861bbbf7ebef64f4..ae22b1038279a2888eb35f7da6ccada34897f00c 100644 --- a/Examples/Iterators/ShapedNeighborhoodIterators2.cxx +++ b/Examples/Iterators/ShapedNeighborhoodIterators2.cxx @@ -184,5 +184,5 @@ int main( int argc, char *argv[] ) return -1; } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Markov/MarkovRegularizationExample.cxx b/Examples/Markov/MarkovRegularizationExample.cxx index dd94b0f71f7511083d5203d690a294a2317fe76b..5e008bfedfad7dde4ddbdced5e16580a9199894e 100644 --- a/Examples/Markov/MarkovRegularizationExample.cxx +++ b/Examples/Markov/MarkovRegularizationExample.cxx @@ -198,7 +198,7 @@ int main(int argc, char* argv[] ) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Patented/FuzzyConnectednessImageFilter.cxx b/Examples/Patented/FuzzyConnectednessImageFilter.cxx index 9138a6119b9146b702ea438331948153f86caf14..d9e7522fc110330368fdb4900b403a202caff5bb 100644 --- a/Examples/Patented/FuzzyConnectednessImageFilter.cxx +++ b/Examples/Patented/FuzzyConnectednessImageFilter.cxx @@ -295,7 +295,7 @@ int main( int argc, char *argv[] ) // Software Guide : EndCodeSnippet - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx b/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx index e5727be692f289668eb06f1044e16e8294654ca2..4ef570668928299eac79fd968dd648491a0fc0fc 100644 --- a/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx +++ b/Examples/Patented/HybridSegmentationFuzzyVoronoi.cxx @@ -390,7 +390,7 @@ int main( int argc, char *argv[] ) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Registration/ImageRegistration1.cxx b/Examples/Registration/ImageRegistration1.cxx index 4a57b545453f8dc4c0f5c26272525cbef305553e..e3212d9924403150382f0905b56a8e2eda5273dd 100644 --- a/Examples/Registration/ImageRegistration1.cxx +++ b/Examples/Registration/ImageRegistration1.cxx @@ -876,6 +876,6 @@ int main( int argc, char *argv[] ) // Software Guide : End Latex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Registration/ImageRegistration2.cxx b/Examples/Registration/ImageRegistration2.cxx index d3b27da396ef57f347f8a274333567c1871d7afd..29e3c8198920024761f07b88857113acd21af662 100644 --- a/Examples/Registration/ImageRegistration2.cxx +++ b/Examples/Registration/ImageRegistration2.cxx @@ -592,6 +592,6 @@ int main( int argc, char *argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Registration/ImageRegistration9.cxx b/Examples/Registration/ImageRegistration9.cxx index ae0408b9a3e2e56feb7dd8997ec2f49ac1ed3cc3..a209688b8208c8f044840fa20be5fdc632536e05 100644 --- a/Examples/Registration/ImageRegistration9.cxx +++ b/Examples/Registration/ImageRegistration9.cxx @@ -648,6 +648,6 @@ int main( int argc, char *argv[] ) } - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Segmentation/ConfidenceConnected.cxx b/Examples/Segmentation/ConfidenceConnected.cxx index 96760f4720f4f8bfd6cbdab75bdd2698ff86ecad..7cf5193af50c1df999fcc3c5cf8b64fc2d88d015 100644 --- a/Examples/Segmentation/ConfidenceConnected.cxx +++ b/Examples/Segmentation/ConfidenceConnected.cxx @@ -399,7 +399,7 @@ int main( int argc, char *argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Segmentation/ConnectedThresholdImageFilter.cxx b/Examples/Segmentation/ConnectedThresholdImageFilter.cxx index a7a14a940c5039afb8b3c6792833c8f5b6c96903..cccc09afc0833bfb919d73e4798a723fab098083 100644 --- a/Examples/Segmentation/ConnectedThresholdImageFilter.cxx +++ b/Examples/Segmentation/ConnectedThresholdImageFilter.cxx @@ -372,7 +372,7 @@ int main( int argc, char *argv[]) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Segmentation/FastMarchingImageFilter.cxx b/Examples/Segmentation/FastMarchingImageFilter.cxx index b30b3f9b34236987767123b280b8636b5b0fc54a..9cb05152cd4b6ef4e360e09c71497b8559209c7e 100644 --- a/Examples/Segmentation/FastMarchingImageFilter.cxx +++ b/Examples/Segmentation/FastMarchingImageFilter.cxx @@ -759,7 +759,7 @@ int main( int argc, char *argv[] ) // See the ITK Software Guide for examples of the use of these classes. // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Segmentation/IsolatedConnectedImageFilter.cxx b/Examples/Segmentation/IsolatedConnectedImageFilter.cxx index 61f28b7a8dd7c5e0d1ab661b0beaebb8e7a2ffef..a8eedbd80401b911854d816518bc6acfff71fad8 100644 --- a/Examples/Segmentation/IsolatedConnectedImageFilter.cxx +++ b/Examples/Segmentation/IsolatedConnectedImageFilter.cxx @@ -301,7 +301,7 @@ int main( int argc, char *argv[] ) // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx b/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx index ae5421b682ddfc4f5514b3e8b2b8bb63b842715d..e20d558730a85beef442879b9b89dcc7c545e0dc 100644 --- a/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx +++ b/Examples/Segmentation/NeighborhoodConnectedImageFilter.cxx @@ -353,7 +353,7 @@ int main( int argc, char *argv[] ) // // Software Guide : EndLatex - return 0; + return EXIT_SUCCESS; } diff --git a/Examples/Segmentation/WatershedSegmentation.cxx b/Examples/Segmentation/WatershedSegmentation.cxx index 2225c49f4f7acf221b5cfa549a28d9028814b1c9..382a68527291efc20369b78a7df230c2c977b166 100644 --- a/Examples/Segmentation/WatershedSegmentation.cxx +++ b/Examples/Segmentation/WatershedSegmentation.cxx @@ -241,7 +241,7 @@ int main( int argc, char *argv[] ) std::cerr << e << std::endl; } - return 0; + return EXIT_SUCCESS; } // diff --git a/Examples/Tutorials/FilteringPipeline.cxx b/Examples/Tutorials/FilteringPipeline.cxx index e23e3d5e0bf3b10cc2b2593e469691a6576e7980..c8c602504569a9efd1339f61b408cc28808b5a65 100644 --- a/Examples/Tutorials/FilteringPipeline.cxx +++ b/Examples/Tutorials/FilteringPipeline.cxx @@ -100,7 +100,7 @@ int main( int argc, char * argv[] ) // Software Guide : BeginCodeSnippet writer->Update(); - return 0; + return EXIT_SUCCESS; } // Software Guide : EndCodeSnippet diff --git a/Examples/Tutorials/HelloWorldOTB.cxx b/Examples/Tutorials/HelloWorldOTB.cxx index c6098fc7c3ef593b856a57eeefa249a36cc60bcd..6f13a3290740ad8a99f10f4e90d2e46dbc6ae75b 100644 --- a/Examples/Tutorials/HelloWorldOTB.cxx +++ b/Examples/Tutorials/HelloWorldOTB.cxx @@ -36,7 +36,7 @@ int main( int argc, char * argv[] ) std::cout << "OTB Hello World !" << std::endl; - return 0; + return EXIT_SUCCESS; } // Software Guide : EndCodeSnippet diff --git a/Examples/Tutorials/Multispectral.cxx b/Examples/Tutorials/Multispectral.cxx index 80adcf1874cc46f995b76189763eac619543c9aa..f44cc03619178d5d91bf044e318dbe2e58d1b901 100644 --- a/Examples/Tutorials/Multispectral.cxx +++ b/Examples/Tutorials/Multispectral.cxx @@ -212,7 +212,7 @@ int main( int argc, char * argv[] ) writerVector->Update(); - return 0; + return EXIT_SUCCESS; } // Software Guide : EndCodeSnippet diff --git a/Examples/Tutorials/Pipeline.cxx b/Examples/Tutorials/Pipeline.cxx index 8b68604dc0a65ac2faa52bfac262b3312971d604..516a36bc636cdcf988d6222e703c15e634743947 100644 --- a/Examples/Tutorials/Pipeline.cxx +++ b/Examples/Tutorials/Pipeline.cxx @@ -108,7 +108,7 @@ int main( int argc, char * argv[] ) // Software Guide : BeginCodeSnippet writer->Update(); - return 0; + return EXIT_SUCCESS; } // Software Guide : EndCodeSnippet diff --git a/Examples/Tutorials/ScalingPipeline.cxx b/Examples/Tutorials/ScalingPipeline.cxx index 43666d1c1d821afdb9d0e54e79eabe1183229072..82188e0a59554f5c1f62f868544efbdfbcf3da2e 100644 --- a/Examples/Tutorials/ScalingPipeline.cxx +++ b/Examples/Tutorials/ScalingPipeline.cxx @@ -146,7 +146,7 @@ int main( int argc, char * argv[] ) // Software Guide : BeginCodeSnippet writer->Update(); - return 0; + return EXIT_SUCCESS; } // Software Guide : EndCodeSnippet diff --git a/Examples/Tutorials/SimpleViewer.cxx b/Examples/Tutorials/SimpleViewer.cxx index beb36e2abe825c4425372dcde0e4c438bc8fa55e..ad44e42aaaf818a400d58d7af6c0568fca318357 100644 --- a/Examples/Tutorials/SimpleViewer.cxx +++ b/Examples/Tutorials/SimpleViewer.cxx @@ -114,7 +114,7 @@ int main( int argc, char * argv[] ) // Software Guide : BeginCodeSnippet Fl::run(); - return 0; + return EXIT_SUCCESS; } // Software Guide : EndCodeSnippet