summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2013-06-28 16:26:44 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-28 20:37:49 (GMT)
commit1399825cf9ef361e809b82463c69a212ac725bcb (patch)
treef5088429e38ee676c0f70b4ec7923eac11999719 /Source/cmFileCommand.cxx
parentdaaf6283f5c0e8b7ea7ee93f983ad56d4498788d (diff)
downloadCMake-1399825cf9ef361e809b82463c69a212ac725bcb.zip
CMake-1399825cf9ef361e809b82463c69a212ac725bcb.tar.gz
CMake-1399825cf9ef361e809b82463c69a212ac725bcb.tar.bz2
Remove some uses of obsolete 'register' storage specifier
Remove the keyword from all Source/* files outside of KWSys.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index e72e756..4446f72 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -2489,7 +2489,7 @@ namespace {
cmWriteToFileCallback(void *ptr, size_t size, size_t nmemb,
void *data)
{
- register int realsize = (int)(size * nmemb);
+ int realsize = (int)(size * nmemb);
std::ofstream* fout = static_cast<std::ofstream*>(data);
const char* chPtr = static_cast<char*>(ptr);
fout->write(chPtr, realsize);
@@ -2501,7 +2501,7 @@ namespace {
cmWriteToMemoryCallback(void *ptr, size_t size, size_t nmemb,
void *data)
{
- register int realsize = (int)(size * nmemb);
+ int realsize = (int)(size * nmemb);
cmFileCommandVectorOfChar *vec
= static_cast<cmFileCommandVectorOfChar*>(data);
const char* chPtr = static_cast<char*>(ptr);