From 74afeadda34cabace9f8229124ecb47819bf8496 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Thu, 15 Jan 2015 15:05:45 +0000 Subject: [PATCH] dtfile: Resolve CID 87308 --- cde/programs/dtfile/SharedMsgs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } } -- 2.25.1