mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
Otherwise it is accessed right when exiting the if block.
Add a unit test reproducing the issue and validating the fix.
Fixes #25325
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
Closes scylladb/scylladb#25326
(cherry picked from commit 5e5e63af10)
Closes scylladb/scylladb#25378