From 6684adf32e64d91dc945e8eb66d79adf14ebf001 Mon Sep 17 00:00:00 2001 From: robocop Date: Sun, 2 Aug 2015 03:10:02 +0000 Subject: [PATCH] Misc. --- src/burp/burp.cpp | 4 ++-- src/include/firebird/FirebirdInterface.idl | 2 +- src/jrd/validation.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/burp/burp.cpp b/src/burp/burp.cpp index c70f87251f..8bcda91904 100644 --- a/src/burp/burp.cpp +++ b/src/burp/burp.cpp @@ -2476,7 +2476,7 @@ void BurpGlobals::read_stats(SINT64* stats) break; case isc_info_end: - default: + default: p = e; } @@ -2521,7 +2521,7 @@ void BurpGlobals::print_stats(USHORT number) } SINT64 cur_stats[LAST_COUNTER] = {0}; - if((gbl_stat_flags & ~time_mask) && !gbl_stat_done) + if ((gbl_stat_flags & ~time_mask) && !gbl_stat_done) read_stats(cur_stats); for (int i = READS; i < LAST_COUNTER; i++) diff --git a/src/include/firebird/FirebirdInterface.idl b/src/include/firebird/FirebirdInterface.idl index d02b5d03d7..6e808233f6 100644 --- a/src/include/firebird/FirebirdInterface.idl +++ b/src/include/firebird/FirebirdInterface.idl @@ -945,7 +945,7 @@ interface XpbBuilder : Disposable boolean findFirst(Status status, uchar tag); boolean findNext(Status status); - // Methods which work with current selection + // Methods which work with current selection uchar getTag(Status status); uint getLength(Status status); int getInt(Status status); diff --git a/src/jrd/validation.h b/src/jrd/validation.h index cc1bb53662..d347700714 100644 --- a/src/jrd/validation.h +++ b/src/jrd/validation.h @@ -160,7 +160,7 @@ private: struct UsedBdb { UsedBdb() : bdb(NULL), count(0) {} - UsedBdb(BufferDesc* _bdb) : bdb(_bdb), count(1) {} + explicit UsedBdb(BufferDesc* _bdb) : bdb(_bdb), count(1) {} BufferDesc* bdb; int count;