projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c733745
)
Drop unused ReOpen method.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 15 Nov 2010 22:23:44 +0000
(22:23 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 15 Nov 2010 22:23:44 +0000
(22:23 +0000)
log.cpp
patch
|
blob
|
history
log.hpp
patch
|
blob
|
history
diff --git
a/log.cpp
b/log.cpp
index
4f937be
..
a7128f8
100644
(file)
--- a/
log.cpp
+++ b/
log.cpp
@@
-77,10
+77,6
@@
static void _Open(const char *szName, const char *szExtension) {
g_gzFile = gzopen(szFileName, "wb");
}
-static inline void _ReOpen(void) {
- /* XXX */
-}
-
static inline void Write(const char *sBuffer, size_t dwBytesToWrite) {
if(g_gzFile == NULL)
return;
@@
-267,10
+263,6
@@
void Open(const char *name) {
NewLine();
}
-void ReOpen(void) {
- _ReOpen();
-}
-
void Close(void) {
EndTag("trace");
NewLine();
diff --git
a/log.hpp
b/log.hpp
index
d7fb3f5
..
b05541b
100644
(file)
--- a/
log.hpp
+++ b/
log.hpp
@@
-29,7
+29,6
@@
namespace Log {
void Open(const char *name);
- void ReOpen(void);
void Close(void);
void BeginCall(const char *function);