Remove unnecessary 'always:' from CompilerWarnings task

Started by Nazir Bilal Yavuzover 2 years ago3 messageshackers
Jump to latest
#1Nazir Bilal Yavuz
byavuz81@gmail.com

Hi,

There are multiple 'always:' keywords under the CompilerWarnings task.
Instead of that, we can use one 'always:' and move the instructions
under this. So, I removed unnecessary ones and rearranged indents
according to that change.

Any kind of feedback would be appreciated.

Regards,
Nazir Bilal Yavuz
Microsoft

Attachments:

v1-0001-Remove-unnecessary-always-from-CompilerWarnings-t.patchtext/x-diff; charset=US-ASCII; name=v1-0001-Remove-unnecessary-always-from-CompilerWarnings-t.patchDownload+18-26
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Nazir Bilal Yavuz (#1)
Re: Remove unnecessary 'always:' from CompilerWarnings task

On 05.09.23 12:25, Nazir Bilal Yavuz wrote:

There are multiple 'always:' keywords under the CompilerWarnings task.
Instead of that, we can use one 'always:' and move the instructions
under this. So, I removed unnecessary ones and rearranged indents
according to that change.

I'm not sure this change is beneficial. The way the code is currently
arranged, it's a bit easier to move or change individual blocks, and
it's also easier to read the file, because the "always:" is next to each
"script" and doesn't scroll off the screen.

#3Nazir Bilal Yavuz
byavuz81@gmail.com
In reply to: Peter Eisentraut (#2)
Re: Remove unnecessary 'always:' from CompilerWarnings task

Hi,

Thanks for the review.

On Wed, 8 Nov 2023 at 10:31, Peter Eisentraut <peter@eisentraut.org> wrote:

On 05.09.23 12:25, Nazir Bilal Yavuz wrote:

There are multiple 'always:' keywords under the CompilerWarnings task.
Instead of that, we can use one 'always:' and move the instructions
under this. So, I removed unnecessary ones and rearranged indents
according to that change.

I'm not sure this change is beneficial. The way the code is currently
arranged, it's a bit easier to move or change individual blocks, and
it's also easier to read the file, because the "always:" is next to each
"script" and doesn't scroll off the screen.

That makes sense. I am planning to withdraw this soon if there are no
other objections.

Regards,
Nazir Bilal Yavuz
Microsoft