Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

未使用 private 変数削除 #2025

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gorogoro123
Copy link
Contributor

@gorogoro123 gorogoro123 commented Mar 17, 2025

PR対象

  • アプリ(サクラエディタ本体)

カテゴリ

  • 改善

PR の背景

Clang/LLVM build 時に "-Wunused-private-field" の warning が出力される。
CGrepAgent.cpp(1843,12): warning : private field 'code' is not used [-Wunused-private-field]

仕様・動作説明

クラスに定義している未使用 private 変数を削除します。

PR の影響範囲

影響なし。

テスト内容

Clang/LLVM build 時に "-Wunused-private-field" の warning が削減されていることを確認する。

関連 issue, PR

参考資料

https://learn.microsoft.com/ja-jp/cpp/build/clang-support-msbuild

@AppVeyorBot
Copy link

@berryzplus
Copy link
Contributor

そう言えば、

Clang/LLVM build 時に "-Wunused-private-field" の warning が出力される。

って、どうやって確認してますか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants