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

Revert change at #1512 partially #1830

Merged

Conversation

sanomari
Copy link
Contributor

@sanomari sanomari commented May 1, 2022

PR の目的

N_SHAREDATA_VERSIONの修正ミスを訂正します。

カテゴリ

  • 不具合修正

PR の背景

SonarCloudの指摘に従ってdefineをconstexprに置換しましたが、既存のCマクロに悪影響が出るので元に戻します。

PR のメリット

PR のデメリット (トレードオフとかあれば)

仕様・動作説明

SonarCloudの指摘に従ってdefineをconstexprに置換しましたが、既存のCマクロに悪影響が出るので元に戻します。

PR の影響範囲

マクロでN_SHAREDATA_VERSIONの値を展開している箇所が、
値ではなくN_SHAREDATA_VERSIONという文字列に展開されていました。
サクラエディタ自体には機能的な実害はありませんが、後世のために修正しておきたいです。

テスト内容

テスト1

手順

関連 issue, PR

参考資料

N_SHAREDATA_VERSIONの修正ミスを訂正します。
SonarCloudの指摘に従ってdefineをconstexprに置換しましたが、既存のCマクロに悪影響が出るので元に戻します。
@sanomari sanomari requested a review from berryzplus May 1, 2022 05:20
@sanomari sanomari self-assigned this May 1, 2022
@sonarcloud
Copy link

sonarcloud bot commented May 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@AppVeyorBot
Copy link

Build sakura 1.0.4103 completed (commit 70face0392 by @sanomari)

Copy link
Contributor

@beru beru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

問題無いと思います。動作確認はしていません。

Azure PipelinesでMinGWによるビルドが失敗していますが内容的にこのPRの変更が原因では無いと思います。

@sanomari sanomari merged commit e3139d5 into sakura-editor:master May 2, 2022
@sanomari sanomari deleted the feature/refactoring_of_getinipath branch May 2, 2022 06:43
This pull request was closed.
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.

4 participants