diff options
author | ivan-matveev <[email protected]> | 2022-08-26 00:23:46 +0300 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2022-09-06 14:38:56 +0200 |
commit | 4783607ecc09e9493677a9c4e3db95f78d87409a (patch) | |
tree | 10f507541bed2b7cecf4537f02d1fb7e9280f274 /src | |
parent | d93c82fdd28c681fd1579944cc1c240d242c4c4b (diff) | |
download | cubeb-4783607ecc09e9493677a9c4e3db95f78d87409a.tar.gz cubeb-4783607ecc09e9493677a9c4e3db95f78d87409a.zip |
Remove comments after #endif to fix clang-format errors.
Diffstat (limited to 'src')
-rw-r--r-- | src/cubeb_aaudio.cpp | 2 | ||||
-rw-r--r-- | src/cubeb_alsa.c | 2 | ||||
-rw-r--r-- | src/cubeb_jack.cpp | 2 | ||||
-rw-r--r-- | src/cubeb_pulse.c | 2 | ||||
-rw-r--r-- | src/cubeb_sndio.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/cubeb_aaudio.cpp b/src/cubeb_aaudio.cpp index 9aecb9b..2ac67c2 100644 --- a/src/cubeb_aaudio.cpp +++ b/src/cubeb_aaudio.cpp @@ -467,7 +467,7 @@ aaudio_destroy(cubeb * ctx) if (ctx->libaaudio) { dlclose(ctx->libaaudio); } -#endif // #ifndef DISABLE_LIBAAUDIO_DLOPEN +#endif delete ctx; } diff --git a/src/cubeb_alsa.c b/src/cubeb_alsa.c index a5a2f54..46d9a22 100644 --- a/src/cubeb_alsa.c +++ b/src/cubeb_alsa.c @@ -961,7 +961,7 @@ alsa_destroy(cubeb * ctx) if (ctx->libasound) { dlclose(ctx->libasound); } -#endif // DISABLE_LIBASOUND_DLOPEN +#endif free(ctx); } diff --git a/src/cubeb_jack.cpp b/src/cubeb_jack.cpp index 28ca67c..d851c79 100644 --- a/src/cubeb_jack.cpp +++ b/src/cubeb_jack.cpp @@ -791,7 +791,7 @@ cbjack_destroy(cubeb * context) #ifndef DISABLE_LIBJACK_DLOPEN if (context->libjack) dlclose(context->libjack); -#endif // DISABLE_LIBJACK_DLOPEN +#endif free(context); } diff --git a/src/cubeb_pulse.c b/src/cubeb_pulse.c index 7fc4d6b..fc8fbf4 100644 --- a/src/cubeb_pulse.c +++ b/src/cubeb_pulse.c @@ -808,7 +808,7 @@ pulse_destroy(cubeb * ctx) if (ctx->libpulse) { dlclose(ctx->libpulse); } -#endif // DISABLE_LIBPULSE_DLOPEN +#endif free(ctx->default_sink_info); free(ctx); } diff --git a/src/cubeb_sndio.c b/src/cubeb_sndio.c index 0a78220..a89c15b 100644 --- a/src/cubeb_sndio.c +++ b/src/cubeb_sndio.c @@ -365,7 +365,7 @@ sndio_destroy(cubeb * context) #ifndef DISABLE_LIBSNDIO_DLOPEN if (context->libsndio) dlclose(context->libsndio); -#endif // DISABLE_LIBSNDIO_DLOPEN +#endif free(context); } |