astellato / ofxSyphon

An OF add-on for using the Syphon framework.
Other
193 stars 57 forks source link

Non-void function does not return a value in all control paths #48

Closed dimitre closed 2 years ago

dimitre commented 2 years ago

This function returns this error

Non-void function does not return a value in all control paths

https://github.com/astellato/ofxSyphon/blob/01345475bd8dd14f0b14d3d32e39507953d95282/src/ofxSyphonClient.mm#L43-L63

dimitre commented 2 years ago

not pretty but can be solved with

     [pool drain]; 
     return *this; 
ofTheo commented 2 years ago

think this was closed by #49