diff options
author | David Robillard <d@drobilla.net> | 2022-04-21 17:47:02 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-04-21 17:49:42 -0400 |
commit | 64e784e77b45cdbcd4ce17187c9fa4259b0ddefb (patch) | |
tree | ae219e56ef18693712ec3457019dcd5611519948 /src/x11_gl.c | |
parent | 7733df13ec32c169f4f8013bb1c3f55743d88c87 (diff) | |
download | pugl-64e784e77b45cdbcd4ce17187c9fa4259b0ddefb.tar.gz pugl-64e784e77b45cdbcd4ce17187c9fa4259b0ddefb.tar.bz2 pugl-64e784e77b45cdbcd4ce17187c9fa4259b0ddefb.zip |
Remove unused return type from backend destroy methods
Since this is essentially a destructor, I don't think there's anything really
useful to do with errors here, and in practice no backends actually used it
anyway.
Diffstat (limited to 'src/x11_gl.c')
-rw-r--r-- | src/x11_gl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/x11_gl.c b/src/x11_gl.c index 06e2b22..934fc18 100644 --- a/src/x11_gl.c +++ b/src/x11_gl.c @@ -195,7 +195,7 @@ puglX11GlCreate(PuglView* view) return PUGL_SUCCESS; } -static PuglStatus +static void puglX11GlDestroy(PuglView* view) { PuglX11GlSurface* surface = (PuglX11GlSurface*)view->impl->surface; @@ -204,7 +204,6 @@ puglX11GlDestroy(PuglView* view) free(surface); view->impl->surface = NULL; } - return PUGL_SUCCESS; } PuglGlFunc |