Comments (2)
UPDATE: The warning above pointed to another use-case similar to the one I plugged in the original PR. No idea why my copy of gcc (and all those on NUT CI) at most complained there and not here for essentially same pattern.
from nut.
Probably fallout of #2425 / #2294 although the last few commits were about squashing this sort of issue with bogus usages of the Settable<T>
entries specifically to avoid such warning. Maybe missed one, but CI builders no longer complained :\
"Bogus" IMHO in the sense that this class and its usages (unless something was missed) separately tracks if the payload was set()
and only returns its value (or callers ask for it) if it was - allowing to not write into configs the values not initialized in current class instances that represent the config in C++ class (its properties).
That said, the issues I was addressing - as well as this one - happened to BoolInt
which I've introduced in that PR on top of predecessors' code, so maybe I did botch something in the grand design :)
from nut.
Related Issues (20)
- [HCL] GE Critical Power - VH Series UL - supported by snmp-ups (mib = ietf) HOT 3
- Libraries not found (Ubuntu 24.04 Server arm) HOT 8
- NUT for Windows: add help/usage to the CLI wrapper `nut.exe`
- `pijuice` driver uses `status_set()` unidiomatically
- C++20 compiler complaints HOT 4
- Add S/N to ups.conf and nut breaks HOT 13
- v2.8.1 Works with PowerWalker VI 600 STL LCD on OpenBSD HOT 1
- APC Smart-UPS 1000 USB - ups.test.result: No test initiated and missing TIMELEFT HOT 12
- Are there more readings with USB driver rather than SNMP? Eaton 5P 850 HOT 2
- Definitive guide on how to setup upsmon to shutdown computer HOT 8
- upsdrvctl start no longer works (insufficient permissions on everything) HOT 8
- For the few cases where we use variables as formatting strings, find a way to ensure it is safe HOT 3
- Help please poweredge rt2000 HOT 3
- Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions) | Eaton 9130 HOT 5
- Weird connectivity issues with a generic ViewPower UPS HOT 2
- nut-2.8.2 does not seem to honor DEADTIME HOT 8
- With `nut.exe` help and docs, suggest (automate?) using `net start/stop SERVICENAME` to actually start/stop NUT for Windows
- usbhid-ups: Eaton input.current value is always 0
- APC SRV2KA support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nut.