File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class StandaloneUtilityInterface : public UtilSvc
9191 {
9292 va_list arglist;
9393 va_start (arglist, format);
94- int rc = ::vfprintf ((usvcDataMode || err) ? stderr : stdout, format, arglist);
94+ const int rc = ::vfprintf ((usvcDataMode || err) ? stderr : stdout, format, arglist);
9595 va_end (arglist);
9696
9797 if (rc < 0 )
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ namespace MsgFormat {
4242
4343namespace Firebird {
4444
45- const TEXT SVC_TRMNTR = ' \377 ' ; // ASCII 255
45+ inline constexpr TEXT SVC_TRMNTR = ' \377 ' ; // ASCII 255
4646
4747class ClumpletWriter ;
4848
@@ -62,7 +62,7 @@ class UtilSvc : public Firebird::GlobalStorage
6262 mutex->enter (FB_FUNCTION);
6363 }
6464
65- StatusAccessor ()
65+ StatusAccessor () noexcept
6666 : mutex(nullptr ), status(nullptr ), uSvc(nullptr )
6767 { }
6868
@@ -74,12 +74,12 @@ class UtilSvc : public Firebird::GlobalStorage
7474 sa.status = nullptr ;
7575 }
7676
77- operator const Firebird::CheckStatusWrapper*() const
77+ operator const Firebird::CheckStatusWrapper*() const noexcept
7878 {
7979 return status;
8080 }
8181
82- const Firebird::CheckStatusWrapper* operator ->() const
82+ const Firebird::CheckStatusWrapper* operator ->() const noexcept
8383 {
8484 return status;
8585 }
@@ -148,7 +148,7 @@ class UtilSvc : public Firebird::GlobalStorage
148148 virtual Firebird::ICryptKeyCallback* getCryptCallback () = 0;
149149 virtual int getParallelWorkers () = 0;
150150
151- void setDataMode (bool value)
151+ void setDataMode (bool value) noexcept
152152 {
153153 usvcDataMode = value;
154154 }
You can’t perform that action at this time.
0 commit comments