fhem / mod-Buienradar

Niederschlagsvorhersage
The Unlicense
2 stars 3 forks source link

50 is not one of the allowed literal values (0, 1, 2) #298

Closed christoph-morrison closed 4 years ago

christoph-morrison commented 4 years ago

50 is not one of the allowed literal values (0, 1, 2). Use the Readonly or Const::Fast module or the "constant" pragma instead at line 1035, column 38. Unnamed numeric literals make code less maintainable. (Severity: 2)