summaryrefslogtreecommitdiff
path: root/cpp/src/slice2js
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2017-06-07 16:39:31 -0400
committerJoe George <joe@zeroc.com>2017-06-07 16:39:31 -0400
commit2fb970cdea450b15b5f7d74099246b6abef16857 (patch)
treeac0fdf40cff12d1cba313e20da757671cbdeeebd /cpp/src/slice2js
parentRemove trailing whitespace (diff)
downloadice-2fb970cdea450b15b5f7d74099246b6abef16857.tar.bz2
ice-2fb970cdea450b15b5f7d74099246b6abef16857.tar.xz
ice-2fb970cdea450b15b5f7d74099246b6abef16857.zip
Remove excessive empty lines
Diffstat (limited to 'cpp/src/slice2js')
-rw-r--r--cpp/src/slice2js/Gen.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpp/src/slice2js/Gen.cpp b/cpp/src/slice2js/Gen.cpp
index 90c473f405e..b3dbc7fd13a 100644
--- a/cpp/src/slice2js/Gen.cpp
+++ b/cpp/src/slice2js/Gen.cpp
@@ -359,7 +359,6 @@ Slice::Gen::Gen(const string& base, const vector<string>& includePaths, const st
}
FileTracker::instance()->addFile(file);
-
printHeader();
printGeneratedHeader(_out, _fileBase + ".ice");
}
@@ -696,7 +695,6 @@ Slice::Gen::RequireVisitor::writeRequires(const UnitPtr& p)
seenModules.push_back("Ice");
-
for(StringList::const_iterator i = includes.begin(); i != includes.end(); ++i)
{
set<string> modules = p->getTopLevelModules(*i);
@@ -1150,7 +1148,6 @@ Slice::Gen::TypesVisitor::visitClassDefStart(const ClassDefPtr& p)
_out << nl << proxyType << " = class extends " << baseProxy;
_out << sb;
-
if(!bases.empty())
{
_out << sp;