From db729ff6dec4660589dbe28fcfe0df29b2371a9a Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Mon, 29 Jul 2013 11:58:19 -0400 Subject: [PATCH] Remove unus(ed|ual) ssasn function to fix warnings Why in tarnation would you assign an int to a string anyway? We're apparently not using this, so remove it for now. Should fix a lot of unused-parameter warnings. --- src/StdString.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/StdString.h b/src/StdString.h index 644bd74f18..fb7113c03d 100644 --- a/src/StdString.h +++ b/src/StdString.h @@ -214,15 +214,6 @@ inline void ssasn(std::string& sDst, PCSTR pA) sDst.assign(pA); #endif } -/** - * @brief Erase the destination string. - * @param sDst the destination string. - * @param nNull the null value. - */ -inline void ssasn(std::string& sDst, const int nNull) -{ - sDst.erase(); -} #undef StrSizeType