Make the linter happy :-)

This commit is contained in:
2025-02-14 16:52:26 +01:00
parent 6321a78b78
commit e8ab0a1074
2 changed files with 6 additions and 17 deletions

View File

@@ -505,12 +505,8 @@ asynStatus masterMacsCreateController(const char *portName,
double comTimeout) {
/*
We create a new instance of the controller, using the "new" keyword to
allocate it on the heap while avoiding RAII.
https://github.com/epics-modules/motor/blob/master/motorApp/MotorSrc/asynMotorController.cpp
https://github.com/epics-modules/asyn/blob/master/asyn/asynPortDriver/asynPortDriver.cpp
The created object is registered in EPICS in its constructor and can
safely be "leaked" here.
allocate it on the heap while avoiding RAII. The created object is
registered in EPICS in its constructor and can safely be "leaked" here.
*/
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-variable"