Skip to content

Commit

Permalink
fix(test): fix undefined behavior due to missing return
Browse files Browse the repository at this point in the history
I guess we were lucky that compilers let this one slide...
  • Loading branch information
strager committed Apr 27, 2024
1 parent a3e64dd commit 7ee7d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-configuration-loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2334,7 +2334,7 @@ bool Change_Detecting_Configuration_Loader::detect_changes() {
return kqueue_rc != 0;
#elif defined(_WIN32)
std::unique_lock<Mutex> lock(this->mutex_);
this->detect_changes_locked(lock);
return this->detect_changes_locked(lock);
#else
#error "Unsupported platform"
#endif
Expand Down

0 comments on commit 7ee7d92

Please sign in to comment.