summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
Diffstat (limited to 'dselect')
-rw-r--r--dselect/pkgdepcon.cc2
-rw-r--r--dselect/pkglist.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/dselect/pkgdepcon.cc b/dselect/pkgdepcon.cc
index 9395b6626..6b2b7fd3a 100644
--- a/dselect/pkgdepcon.cc
+++ b/dselect/pkgdepcon.cc
@@ -333,6 +333,8 @@ int packagelist::resolvedepcon(dependency *depends) {
default:
internerr("unknown deptype");
}
+ /* never reached, make gcc happy */
+ return 1;
}
int packagelist::deppossatisfied(deppossi *possi, perpackagestate **fixbyupgrade) {
diff --git a/dselect/pkglist.cc b/dselect/pkglist.cc
index 81f171094..a3987adce 100644
--- a/dselect/pkglist.cc
+++ b/dselect/pkglist.cc
@@ -78,6 +78,8 @@ int packagelist::compareentries(struct perpackagestate *a,
default:
internerr("unsorted or unknown in compareentries");
}
+ /* never reached, make gcc happy */
+ return 1;
}
void packagelist::discardheadings() {