From f96fcd6dd37ce4efbc3625531d0f92ff94566a14 Mon Sep 17 00:00:00 2001 From: dockes Date: Mon, 20 Mar 2006 15:14:08 +0000 Subject: [PATCH] get rid of unused temp --- src/internfile/mh_text.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/internfile/mh_text.cpp b/src/internfile/mh_text.cpp index aa07721d..c45c8680 100644 --- a/src/internfile/mh_text.cpp +++ b/src/internfile/mh_text.cpp @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "@(#$Id: mh_text.cpp,v 1.4 2006-01-23 13:32:28 dockes Exp $ (C) 2005 J.F.Dockes"; +static char rcsid[] = "@(#$Id: mh_text.cpp,v 1.5 2006-03-20 15:14:08 dockes Exp $ (C) 2005 J.F.Dockes"; #endif /* * This program is free software; you can redistribute it and/or modify @@ -58,9 +58,7 @@ MimeHandler::Status MimeHandlerText::mkDoc(RclConfig *conf, const string &fn, return MimeHandler::MHError; } - Rcl::Doc out; - out.origcharset = charset; - out.text = utf8; - docout = out; + docout.origcharset = charset; + docout.text = utf8; return MimeHandler::MHDone; }