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

可否单独停用某项规则或调整以降低误报 #14

Open
4 tasks done
LynahZ opened this issue Apr 15, 2021 · 2 comments
Open
4 tasks done

可否单独停用某项规则或调整以降低误报 #14

LynahZ opened this issue Apr 15, 2021 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@LynahZ
Copy link

LynahZ commented Apr 15, 2021

Question Checklist

Question Subject

列举会出现误报情况(不只这两种)如下:

NSString *str = XXXXXXX; // 方法返回值
return str; // 提示 The value read from str was never initialized.
NSString *picUrl = picInfo.img; // 提示 The value written to &picUrl (type NSString*) is never used.
[cell.picImagView sd_setImageWithURL:[NSURL URLWithString:picUrl] placeholderImage:pImg];

感谢!

@sydowma
Copy link
Collaborator

sydowma commented Apr 15, 2021

@LynahZ 可以的,创建一个新的规则集合(选择从现有的规则集copy),然后把不需要的规则去除,然后应用到项目。

@LynahZ
Copy link
Author

LynahZ commented Apr 15, 2021

@LynahZ 可以的,创建一个新的规则集合(选择从现有的规则集copy),然后把不需要的规则去除,然后应用到项目。

感谢

@sydowma sydowma pinned this issue Apr 16, 2021
@sydowma sydowma added the documentation Improvements or additions to documentation label Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants