File no-return-in-nonvoid-function.patch of Package libindi
diff -Naur libindi_1.2.0.orig/drivers/auxiliary/watchdog.cpp libindi_1.2.0/drivers/auxiliary/watchdog.cpp
--- libindi_1.2.0.orig/drivers/auxiliary/watchdog.cpp 2016-02-02 07:52:24.000000000 +0200
+++ libindi_1.2.0/drivers/auxiliary/watchdog.cpp 2016-06-19 23:24:39.266681365 +0300
@@ -282,6 +282,7 @@
IUSaveConfigText(fp, &ActiveDeviceTP);
IUSaveConfigSwitch(fp, &ShutdownProcedureSP);
+ return true;
}
void WatchDog::TimerHit()
diff -Naur libindi_1.2.0.orig/drivers/filter_wheel/xagyl_wheel.cpp libindi_1.2.0/drivers/filter_wheel/xagyl_wheel.cpp
--- libindi_1.2.0.orig/drivers/filter_wheel/xagyl_wheel.cpp 2016-02-02 07:52:24.000000000 +0200
+++ libindi_1.2.0/drivers/filter_wheel/xagyl_wheel.cpp 2016-06-19 23:25:59.679717628 +0300
@@ -652,6 +652,8 @@
INDI::FilterWheel::saveConfigItems(fp);
IUSaveConfigText(fp, &PortTP);
+
+ return true;
}
bool XAGYLWheel::getStartupData()
diff -Naur libindi_1.2.0.orig/drivers/focuser/focuslynxbase.cpp libindi_1.2.0/drivers/focuser/focuslynxbase.cpp
--- libindi_1.2.0.orig/drivers/focuser/focuslynxbase.cpp 2016-02-02 07:52:24.000000000 +0200
+++ libindi_1.2.0/drivers/focuser/focuslynxbase.cpp 2016-06-19 23:36:08.811559492 +0300
@@ -360,6 +360,7 @@
updateProperties();
}
}
+ return true;
}
/************************************************************************************
@@ -387,6 +388,7 @@
setConnected(false, IPS_IDLE);
updateProperties();
}
+ return true;
}
/************************************************************************************
@@ -2477,6 +2479,7 @@
return false;
}
}
+ return true;
}
/************************************************************************************
diff -Naur libindi_1.2.0.orig/drivers/telescope/temmadriver.cpp libindi_1.2.0/drivers/telescope/temmadriver.cpp
--- libindi_1.2.0.orig/drivers/telescope/temmadriver.cpp 2016-02-02 07:52:24.000000000 +0200
+++ libindi_1.2.0/drivers/telescope/temmadriver.cpp 2016-06-19 23:29:17.314263434 +0300
@@ -973,6 +973,7 @@
fprintf(stderr,"SetLst : %s",str);
tty_write(PortFD,str,strlen(str), &bytesWritten); // get lst
+ return true;
}
@@ -989,6 +990,7 @@
}
fprintf(stderr,"\n");
+ return true;
}
bool TemmaMount::SetTemmaLattitude(double lat)
diff -Naur libindi_1.2.0.orig/drivers/weather/weathermeta.cpp libindi_1.2.0/drivers/weather/weathermeta.cpp
--- libindi_1.2.0.orig/drivers/weather/weathermeta.cpp 2016-02-02 07:52:24.000000000 +0200
+++ libindi_1.2.0/drivers/weather/weathermeta.cpp 2016-06-19 23:32:09.480479983 +0300
@@ -161,6 +161,7 @@
deleteProperty(StationLP.name);
deleteProperty(UpdatePeriodNP.name);
}
+ return true;
}
bool WeatherMeta::ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)
diff -Naur libindi_1.2.0.orig/libs/webcam/v4l2_record/stream_recorder.cpp libindi_1.2.0/libs/webcam/v4l2_record/stream_recorder.cpp
--- libindi_1.2.0.orig/libs/webcam/v4l2_record/stream_recorder.cpp 2016-02-02 07:52:24.000000000 +0200
+++ libindi_1.2.0/libs/webcam/v4l2_record/stream_recorder.cpp 2016-06-19 23:41:40.667826362 +0300
@@ -108,6 +108,7 @@
IUFillSwitch(&RecordStreamS[3], "RECORD_OFF", "Record Off", ISS_ON);
IUFillSwitchVector(&RecordStreamSP, RecordStreamS, NARRAY(RecordStreamS), getDeviceName(), "RECORD_STREAM", "Video Record", STREAM_TAB, IP_RW, ISR_1OFMANY, 0, IPS_IDLE);
+ return true;
}
void StreamRecorder::ISGetProperties(const char *dev)
@@ -155,6 +156,7 @@
return true;
}
+ return true;
}
void StreamRecorder::newFrame(unsigned char *buffer)
@@ -216,6 +218,7 @@
bool StreamRecorder::setPixelFormat(uint32_t format)
{
direct_record = recorder->setpixelformat(format);
+ return true;
}
bool StreamRecorder::uploadStream(uint8_t *buffer)
@@ -538,7 +541,7 @@
return true;
}
-
+ return true;
}
bool StreamRecorder::ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)
@@ -560,6 +563,7 @@
IDSetText (&RecordFileTP, NULL);
return true;
}
+ return true;
}
bool StreamRecorder::ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n)
@@ -601,6 +605,7 @@
IDSetNumber(&FramestoDropNP, NULL);
return true;
}*/
+ return true;
}
bool StreamRecorder::setStream(bool enable)