You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... I suggest to always assign those to local variables as first thing in every function. This is a measure to make the code speak more for itself (instead having comments do that - have comments explain the non-trivial stuff).
I have already corrected this in prominent places and it has to be tested. At this point we should also consider how local/global/... variables should be written at all.
Although it is perfectly fine to use parameters as
$1
and$2
in the code like here...syno_autoshutdown/autoshutdown.sh
Lines 309 to 319 in 66d9a30
... I suggest to always assign those to local variables as first thing in every function. This is a measure to make the code speak more for itself (instead having comments do that - have comments explain the non-trivial stuff).
Example
The text was updated successfully, but these errors were encountered: