]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: clean up warnings in fscrypt
authorChristopher Hoffman <choffman@redhat.com>
Tue, 23 Sep 2025 14:58:32 +0000 (14:58 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Wed, 5 Nov 2025 13:59:36 +0000 (13:59 +0000)
commit12967a06121b543af796f16a4cb54878b86df815
treec428f99003b9e7e214ade908f6e99699598c0bbf
parentb25a678035d2f5e90e5a031b2446e035167ce315
client: clean up warnings in fscrypt

Fix warnings/errors in ceph API tests that are present in FSCrypt.cc

src/client/FSCrypt.cc:90:6: error: variable 'olen' set but not used [-Werror,-Wunused-but-set-variable]
   90 |         int olen = 0;
      |             ^
src/client/FSCrypt.cc:91:6: error: variable 'line' set but not used [-Werror,-Wunused-but-set-variable]
   91 |         int line = 0;
      |             ^
src/client/FSCrypt.cc:945:2: error: is this the way to do it? [-Werror,-W#warnings]
  945 | #warning is this the way to do it?

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/FSCrypt.cc