From 7fedb55643da93394826e79d0bf459fe87fd65a4 Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Mon, 15 Feb 2016 17:41:21 +0100 Subject: [PATCH] Fix a warning: control may reach end of non-void function --- src/vmtape.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vmtape.c b/src/vmtape.c index e54e180..1ac985b 100644 --- a/src/vmtape.c +++ b/src/vmtape.c @@ -666,6 +666,10 @@ vmt_attrmount(struct vmtape *t, struct vmtattrs *ta) return vmt_rdmount(t, ta); } + + /* Should not get here... */ + vmterror(t, "vmt_attrmount: Invalid tapefile mode %x", ta->vmta_mode); + return FALSE; } /* VMT_CRMOUNT - Create and mount a new virtual tape for