From 6ee987353805358727c1e5f855ee5c39e9cb1f20 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sun, 18 Oct 2026 02:39:05 +0300 Subject: [PATCH] Arc4Gen: init I_, J_ in ctor. No functional changes. Tidiness. --- Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp b/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp index a89ebf7..fb7f7c8 100644 --- a/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp +++ b/Chaos/Cipher/Stream/Arc4/Arc4Gen.hpp @@ -16,6 +16,8 @@ class Arc4Gen public: Arc4Gen() : IsInitialized_(false) + , I_(0) + , J_(0) { } Arc4Gen(const Arc4Gen & other) = delete;