Add missing declerations of ret in libgamestream

This commit is contained in:
Iwan Timmer 2016-03-28 13:10:53 +02:00
parent 5a3665323a
commit e7ea222e40

View File

@ -308,6 +308,7 @@ static int sign_it(const char *msg, size_t mlen, unsigned char **sig, size_t *sl
}
int gs_unpair(PSERVER_DATA server) {
int ret = GS_OK;
char url[4096];
uuid_t uuid;
char uuid_str[37];
@ -538,6 +539,7 @@ int gs_applist(PSERVER_DATA server, PAPP_LIST *list) {
}
int gs_start_app(PSERVER_DATA server, STREAM_CONFIGURATION *config, int appId, bool sops, bool localaudio) {
int ret = GS_OK;
uuid_t uuid;
char* result = NULL;
char uuid_str[37];
@ -589,6 +591,7 @@ int gs_start_app(PSERVER_DATA server, STREAM_CONFIGURATION *config, int appId, b
}
int gs_quit_app(PSERVER_DATA server) {
int ret = GS_OK;
char url[4096];
uuid_t uuid;
char uuid_str[37];