cec: sync visual studio project files. removed pthreadVC2d.dll / .lib (we're not...
[deb_libcec.git] / include / CECExports.h
index e5c52e3b6f784afa87560cfa3dda602c2d37c91a..e3f1b76964fd4459089711106f289c6daed0f09e 100644 (file)
@@ -353,16 +353,13 @@ namespace CEC {
     cec_datapacket      parameters;
     bool                opcode_set;
 
-    static cec_command format(cec_logical_address initiator, cec_logical_address destination, cec_opcode opcode)
+    static void format(cec_command &command, cec_logical_address initiator, cec_logical_address destination, cec_opcode opcode)
     {
-      cec_command command;
       command.clear();
       command.initiator   = initiator;
       command.destination = destination;
       command.opcode      = opcode;
       command.opcode_set  = true;
-
-      return command;
     }
 
     void push_back(uint8_t data)