adolc/correct-no-return-in-non-void.patch

45 lines
1.4 KiB
Diff

diff --git a/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp b/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp
index 81e3c81..8a8f762 100755
--- a/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp
+++ b/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp
@@ -564,6 +564,7 @@ namespace ColPack
}
+ return ( _TRUE );
}
//Public Function 2456
diff --git a/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp b/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp
index f6adb58..b90f5b6 100644
--- a/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp
+++ b/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp
@@ -537,6 +537,7 @@ namespace ColPack
}
}
cout<<"OUT ROW_SMALLEST_LAST_OMP()"<<endl<<flush;
+ return(_TRUE);
}
//Public Function 2359
@@ -926,6 +927,7 @@ namespace ColPack
}
}
cout<<"OUT COLUMN_SMALLEST_LAST_OMP()"<<endl<<flush;
+ return(_TRUE);
}
diff --git a/Utilities/extra.cpp b/Utilities/extra.cpp
index 3228b08..078b6a5 100755
--- a/Utilities/extra.cpp
+++ b/Utilities/extra.cpp
@@ -262,6 +262,7 @@ int displayGraph(ColPack::GraphColoring &g) {
//command="xdot -f fdp ";
command = command + fileName;
system(command.c_str());
+ return(_TRUE);
}
int buildDotWithoutColor(ColPack::GraphColoring &g, vector<string> &ListOfColors, string fileName) {