Forum
Python warning about unused parameter - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15)
+---- Thread: Python warning about unused parameter (/showthread.php?tid=959)



Python warning about unused parameter - mauvedeity - 07-06-2020

Hi,

When compiling programs, using zxbc.py 1.11.1, I get a python warning message:
Code:
/Users/mauvedeity/bin/zxbasic/library/print64.bas:20: warning: Parameter 'characters' is never used
I appreciate this is just a warning, but is there something that we can do about this? Many thanks.


RE: Python warning about unused parameter - boriel - 12-30-2020

Hi, mauvedeity

Sorry for the delay.
The next version of ZX Basic (1.14) will allow silencing warnings! I will keep you updated because it's almost ready!