unused variable is not identified

Detlev Offenbach detlev at die-offenbachs.de
Sun Jun 21 14:12:00 BST 2026


Hello Dmitrey,

I just tried your code over here and have to admit, that everything 
works as expected. The 'msg' variable is flagged as unused and an 
associated message is shown (see attached screenshot). Are you sure, 
that the Syntax Checker Plugin is active? You may check this via the 
Plugin Infos dialog. If it is not, just open the context menu in there 
and selecte 'Activate'. If that does not work, check for an error in the 
associated plugin details.

Regards,
Detlev

Am 21.06.26 um 10:16 schrieb Dmitrey Kroshko:
> def myFunc(...):
>     ....
>     msg = f'operation {operation} with macAddress={macAddress} is 
> finished'
>     #print(msg)
>     return r

-- 
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20260621/42e617d3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric7-Bildschirmfoto_20260621_150753.png
Type: image/png
Size: 30684 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/eric/attachments/20260621/42e617d3/attachment-0001.png>


More information about the Eric mailing list