diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-07-28 12:45:47 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-10-21 17:18:48 +0100 |
commit | 732ea045f506919a313bec5d7623b547967784fc (patch) | |
tree | f20a814d816afc1974eb709c5e9b855b1bbe501d /utils/raspberrypi/ctt/ctt_ccm.py | |
parent | 32d78a7bba3dbbf14ac17b11e4bb34bebc067217 (diff) |
cam: options: Rename optional arg to prevent shadowing
The parseValue function is given the optarg directly from the getopt
library, but the function retains the same name.
This causes an shadowed variable of the global optarg variable to be
present in the parseValue function. While this is not harmful, rename it
to work towards disabling shadowed variables.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_ccm.py')
0 files changed, 0 insertions, 0 deletions