From 61e4435ca14ee6b9b702fc8b653f4ad4790fc7c9 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 20 Feb 2016 19:11:43 +0100 Subject: [PATCH] Changed: Removed useless commented code --- code/ryzom/client/src/login_patch.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 7377a5832..3d73635f9 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -1592,15 +1592,12 @@ void CPatchManager::applyDate (const string &sFilename, uint32 nDate) // change the file time if(nDate != 0) { -// _utimbuf utb; -// utb.actime = utb.modtime = nDate; setRWAccess(sFilename, false); ucstring s = CI18N::get("uiChangeDate") + " " + NLMISC::CFile::getFilename(sFilename) + " " + timestampToHumanReadable(NLMISC::CFile::getFileModificationDate (sFilename)) + " -> " + timestampToHumanReadable(nDate); setState(true,s); if (!NLMISC::CFile::setFileModificationDate(sFilename, nDate)) -// if (_utime (sFilename.c_str (), &utb) == -1) { int err = NLMISC::getLastError(); s = CI18N::get("uiChgDateErr") + " " + CFile::getFilename(sFilename) + " (" + toString(err) + ", " + formatErrorMessage(err) + ")";