projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80149dd
)
removed static variable, which prevents applications linking to libzypp
author
Jiri Srain
<jsrain@suse.cz>
Wed, 4 Jan 2006 12:29:22 +0000
(12:29 +0000)
committer
Jiri Srain
<jsrain@suse.cz>
Wed, 4 Jan 2006 12:29:22 +0000
(12:29 +0000)
from segfault
zypp/Locale.cc
patch
|
blob
|
history
zypp/Locale.h
patch
|
blob
|
history
diff --git
a/zypp/Locale.cc
b/zypp/Locale.cc
index
95c6722
..
8cb9302
100644
(file)
--- a/
zypp/Locale.cc
+++ b/
zypp/Locale.cc
@@
-109,7
+109,8
@@
namespace zypp
//
///////////////////////////////////////////////////////////////////
- const Locale Locale::noCode;
+#warning NO STATIC VARIABLES
+// const Locale Locale::noCode;
///////////////////////////////////////////////////////////////////
//
diff --git
a/zypp/Locale.h
b/zypp/Locale.h
index
b2ac8f4
..
db52fb2
100644
(file)
--- a/
zypp/Locale.h
+++ b/
zypp/Locale.h
@@
-55,7
+55,7
@@
namespace zypp
/** \name Locale constants. */
//@{
/** No or empty code. */
- static const Locale noCode;
+
//
static const Locale noCode;
//@}
public: