From: Peter Howkins Date: Thu, 15 Jan 2015 15:05:45 +0000 (+0000) Subject: dtfile: Resolve CID 87308 X-Git-Tag: 2.2.3~28 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=74afeadda34cabace9f8229124ecb47819bf8496;p=oweals%2Fcde.git dtfile: Resolve CID 87308 --- diff --git a/cde/programs/dtfile/SharedMsgs.c b/cde/programs/dtfile/SharedMsgs.c index 2813bcbb..d3f834a5 100644 --- a/cde/programs/dtfile/SharedMsgs.c +++ b/cde/programs/dtfile/SharedMsgs.c @@ -66,7 +66,7 @@ #include "SharedMsgs.h" - +static char unknownmessage[] = "***Unknown shared message***"; /************************************************************************ * @@ -150,5 +150,8 @@ GetSharedMessage( return GETMESSAGE(30,21, "File Move Error"); case FILE_LINK_ERROR_TITLE: return GETMESSAGE(30,22, "File Link Error"); + default: + fprintf(stderr, "GetSharedMessage: unknown message %d\n", id); + return unknownmessage; } }