summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonUri.cxx7
-rw-r--r--ucb/source/ucp/webdav/SerfUri.cxx4
2 files changed, 0 insertions, 11 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx
index 6d8be5477900..31327d3e86d4 100644
--- a/ucb/source/ucp/webdav-neon/NeonUri.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonUri.cxx
@@ -40,11 +40,8 @@
using namespace webdav_ucp;
-# if defined __SUNPRO_CC
// FIXME: not sure whether initializing a ne_uri statically is supposed to work
// the string fields of ne_uri are char*, not const char*
-# pragma disable_warn
-# endif
#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY
#pragma GCC diagnostic ignored "-Wwrite-strings"
@@ -75,10 +72,6 @@ const ne_uri g_sUriDefaultsFTP = { (char *) "ftp",
NULL };
} // namespace
-# if defined __SUNPRO_CC
-# pragma enable_warn
-#endif
-
NeonUri::NeonUri( const ne_uri * inUri )
throw ( DAVException )
{
diff --git a/ucb/source/ucp/webdav/SerfUri.cxx b/ucb/source/ucp/webdav/SerfUri.cxx
index 16a4b1748625..a49c46e8bba6 100644
--- a/ucb/source/ucp/webdav/SerfUri.cxx
+++ b/ucb/source/ucp/webdav/SerfUri.cxx
@@ -29,10 +29,6 @@
using namespace http_dav_ucp;
-# if defined __SUNPRO_CC
-# pragma enable_warn
-#endif
-
// -------------------------------------------------------------------
// Constructor
// -------------------------------------------------------------------