remove a warning during compilation
backend_init now returns an int not a pointer. Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Bryce Harrington
parent
2eff22b8e6
commit
c2635c6599
@@ -1270,7 +1270,7 @@ backend_init(struct weston_compositor *compositor, int *argc, char *argv[],
|
|||||||
if (!config.rdp_key && (!config.server_cert || !config.server_key)) {
|
if (!config.rdp_key && (!config.server_cert || !config.server_key)) {
|
||||||
weston_log("the RDP compositor requires keys and an optional certificate for RDP or TLS security ("
|
weston_log("the RDP compositor requires keys and an optional certificate for RDP or TLS security ("
|
||||||
"--rdp4-key or --rdp-tls-cert/--rdp-tls-key)\n");
|
"--rdp4-key or --rdp-tls-cert/--rdp-tls-key)\n");
|
||||||
return NULL;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
b = rdp_backend_create(compositor, &config, argc, argv, wconfig);
|
b = rdp_backend_create(compositor, &config, argc, argv, wconfig);
|
||||||
|
|||||||
Reference in New Issue
Block a user