summaryrefslogtreecommitdiffstats
path: root/testFStream.cxx
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2017-05-16 15:38:28 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-16 15:39:00 (GMT)
commit7be70ca6cc888df532d2f1560e74d13642730ee5 (patch)
tree2867838cfed035918c1de0556ac0b2b08ddef340 /testFStream.cxx
parent2dec4695b7711126832f61f5e86cc3120cb419d4 (diff)
downloadCMake-7be70ca6cc888df532d2f1560e74d13642730ee5.zip
CMake-7be70ca6cc888df532d2f1560e74d13642730ee5.tar.gz
CMake-7be70ca6cc888df532d2f1560e74d13642730ee5.tar.bz2
KWSys 2017-05-16 (fe1f22ce)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit fe1f22ceefdae18df33e5bab8483fec7a82d4cee (master). Upstream Shortlog ----------------- Adam Weisi (3): 8a799e36 Process: Improve definition ordering in header file 7d56ef24 Process: Save results from all children internally b7eba998 Process: Add APIs to get results of individual processes Ben Boeckel (2): cea71543 style: remove separator comments 874dc559 style: help clang-format near macros
Diffstat (limited to 'testFStream.cxx')
-rw-r--r--testFStream.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/testFStream.cxx b/testFStream.cxx
index 670f5e7..a92a781 100644
--- a/testFStream.cxx
+++ b/testFStream.cxx
@@ -20,7 +20,6 @@
#include <iostream>
-//----------------------------------------------------------------------------
static int testNoFile()
{
kwsys::ifstream in_file("NoSuchFile.txt");
@@ -69,7 +68,6 @@ static unsigned char file_data[num_test_files][max_test_file_size] = {
0x72, 0x00, 0x00, 0x00, 0x6C, 0x00, 0x00, 0x00, 0x64 },
};
-//----------------------------------------------------------------------------
static int testBOM()
{
// test various encodings in binary mode
@@ -104,7 +102,6 @@ static int testBOM()
return 0;
}
-//----------------------------------------------------------------------------
int testFStream(int, char* [])
{
int ret = 0;