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

[CodeStyle] remove unused-variable warning in linux #47558

Merged
merged 2 commits into from
Nov 3, 2022
Merged

[CodeStyle] remove unused-variable warning in linux #47558

merged 2 commits into from
Nov 3, 2022

Conversation

GreatV
Copy link
Contributor

@GreatV GreatV commented Nov 2, 2022

PR types

Others

PR changes

Others

Describe

remove unused-variable warning in Linux.

cat build_before.log | grep "\[\-W" |grep -v party | awk '{print $NF}'|sort|uniq -c|sort -nr
      6 [-Wterminate]
      4 [-Wunused-variable]
      2 [-Wunknown-pragmas]
cat build_after.log | grep "\[\-W" |grep -v party | awk '{print $NF}'|sort|uniq -c|sort -nr
      6 [-Wterminate]
      2 [-Wunknown-pragmas]

@paddle-bot
Copy link

paddle-bot bot commented Nov 2, 2022

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Nov 2, 2022
@luotao1 luotao1 self-assigned this Nov 2, 2022
@luotao1
Copy link
Contributor

luotao1 commented Nov 2, 2022

windows-inference流水线上的单测出现随机挂, @GreatV 可以不用关注,我们会处理

2022-11-02 13:53:56 The following tests FAILED:
2022-11-02 13:53:56 	352 - test_trt_dynamic_shape_ernie_ser_deser (Failed)
2022-11-02 13:53:56 	1154 - test_pylayer_op (Failed)

Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit e67d6f1 into PaddlePaddle:develop Nov 3, 2022
Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

image

还有一些 `unused-variable` 是否后续也可以去掉

@GreatV
Copy link
Contributor Author

GreatV commented Nov 3, 2022

image

还有一些 unused-variable 是否后续也可以去掉

嗯嗯,这些是下一步的目标。

@GreatV GreatV deleted the fix_liunx_warning branch November 3, 2022 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants