summaryrefslogtreecommitdiff
path: root/ruby/src
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 /ruby/src
parentRemove trailing whitespace (diff)
downloadice-2fb970cdea450b15b5f7d74099246b6abef16857.tar.bz2
ice-2fb970cdea450b15b5f7d74099246b6abef16857.tar.xz
ice-2fb970cdea450b15b5f7d74099246b6abef16857.zip
Remove excessive empty lines
Diffstat (limited to 'ruby/src')
-rw-r--r--ruby/src/IceRuby/Communicator.cpp2
-rw-r--r--ruby/src/IceRuby/Endpoint.cpp1
-rw-r--r--ruby/src/IceRuby/ImplicitContext.cpp4
-rw-r--r--ruby/src/IceRuby/Makefile.mk1
4 files changed, 0 insertions, 8 deletions
diff --git a/ruby/src/IceRuby/Communicator.cpp b/ruby/src/IceRuby/Communicator.cpp
index efa32357b08..d410b64b61c 100644
--- a/ruby/src/IceRuby/Communicator.cpp
+++ b/ruby/src/IceRuby/Communicator.cpp
@@ -302,7 +302,6 @@ IceRuby_identityToString(int argc, VALUE* argv, VALUE self)
Ice::Identity ident = getIdentity(argv[0]);
-
Ice::ToStringMode toStringMode = Ice::Unicode;
if(argc == 2)
{
@@ -541,7 +540,6 @@ IceRuby_Communicator_getImplicitContext(VALUE self)
return Qnil;
}
-
extern "C"
VALUE
IceRuby_Communicator_getProperties(VALUE self)
diff --git a/ruby/src/IceRuby/Endpoint.cpp b/ruby/src/IceRuby/Endpoint.cpp
index 70893f481ca..2491151f7ba 100644
--- a/ruby/src/IceRuby/Endpoint.cpp
+++ b/ruby/src/IceRuby/Endpoint.cpp
@@ -115,7 +115,6 @@ IceRuby_Endpoint_equals(VALUE self, VALUE other)
return IceRuby_Endpoint_cmp(self, other) == INT2NUM(0) ? Qtrue : Qfalse;
}
-
// **********************************************************************
// EndpointInfo
// **********************************************************************
diff --git a/ruby/src/IceRuby/ImplicitContext.cpp b/ruby/src/IceRuby/ImplicitContext.cpp
index e7bc0fa3853..31df9584d67 100644
--- a/ruby/src/IceRuby/ImplicitContext.cpp
+++ b/ruby/src/IceRuby/ImplicitContext.cpp
@@ -25,7 +25,6 @@ IceRuby_ImplicitContext_free(Ice::ImplicitContextPtr* p)
delete p;
}
-
extern "C"
VALUE
IceRuby_ImplicitContext_getContext(VALUE self)
@@ -78,7 +77,6 @@ IceRuby_ImplicitContext_containsKey(VALUE self, VALUE key)
return Qnil;
}
-
extern "C"
VALUE
IceRuby_ImplicitContext_get(VALUE self, VALUE key)
@@ -94,7 +92,6 @@ IceRuby_ImplicitContext_get(VALUE self, VALUE key)
return Qnil;
}
-
extern "C"
VALUE
IceRuby_ImplicitContext_put(VALUE self, VALUE key, VALUE value)
@@ -124,7 +121,6 @@ IceRuby_ImplicitContext_remove(VALUE self, VALUE key)
return Qnil;
}
-
void
IceRuby::initImplicitContext(VALUE iceModule)
{
diff --git a/ruby/src/IceRuby/Makefile.mk b/ruby/src/IceRuby/Makefile.mk
index 351c72df5ed..7fc6859bb60 100644
--- a/ruby/src/IceRuby/Makefile.mk
+++ b/ruby/src/IceRuby/Makefile.mk
@@ -24,7 +24,6 @@ IceRuby_extra_sources := $(filter-out %Util.cpp %Python.cpp,\
$(top_srcdir)/cpp/src/Slice/RubyUtil.cpp \
$(top_srcdir)/cpp/src/Slice/StringLiteralUtil.cpp
-
#
# On the default platform, always write the module in the ruby directory.
#