summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Handle.cc1
-rw-r--r--lib/String.cc5
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index 182657d..74cf7f4 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -250,7 +250,6 @@ void Handle::close() throw (GeneralException) {
}
h = -1;
-
closed = 1;
}
diff --git a/lib/String.cc b/lib/String.cc
index 75d9d15..82b0e00 100644
--- a/lib/String.cc
+++ b/lib/String.cc
@@ -46,9 +46,6 @@ String::String(char c) : siz(1) {
}
String::String(const char * s) : str(Base::strdup(s)), siz(::strlen(str)) {
- if (!strcmp(s, "testing")) {
- gruikptr = &str;
- }
#ifdef DEBUG
fprintf(stderr, _("Creating a string with `%s' at %p from %p, this = %p\n"), str, str, s, this);
#endif
@@ -93,7 +90,7 @@ String::String(int64 l) {
siz = ::strlen(str);
}
-String::String(uint64 l) {
+String::String(Uint64 l) {
#ifndef HAVE_ASPRINTF
char t[40];
sprintf(t, "%llu", l);