Code

Fixed compatibility issues with Go 1.0 and 1.1.
[sysdb/go.git] / client / client.go
index cae54437a1880aa8891090d08856559eaea98773..e6a13030f1415256128f3ee18705a700a52f44b2 100644 (file)
@@ -175,6 +175,9 @@ func (c *Client) Call(req *proto.Message) (*proto.Message, error) {
                        log.Println(string(res.Raw[4:]))
                }
        }
+
+       // Not reached; needed for Go1 compatibility.
+       return nil, nil
 }
 
 // ServerVersion queries and returns the version of the remote server.