Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 38494099 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

MISC: Apply clang format

parent 87983af3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!157Caching for karas & refactor & others
...@@ -31,3 +31,4 @@ autom4te.cache ...@@ -31,3 +31,4 @@ autom4te.cache
*\~ *\~
*.AppImage *.AppImage
*.pro.user *.pro.user
target/
...@@ -836,8 +836,8 @@ handle_queue_events(struct lkt_state *srv) ...@@ -836,8 +836,8 @@ handle_queue_events(struct lkt_state *srv)
redo: redo:
evt = lkt_queue_handle(&srv->queue); evt = lkt_queue_handle(&srv->queue);
switch (evt.type) {
// clang-format off // clang-format off
switch (evt.type) {
__CASE(PLAY_POS, { __CASE(PLAY_POS, {
string = safe_malloc(BUFFER_MAX * sizeof(char)); string = safe_malloc(BUFFER_MAX * sizeof(char));
safe_snprintf(string, BUFFER_MAX, "%ld", (size_t)evt.attr); safe_snprintf(string, BUFFER_MAX, "%ld", (size_t)evt.attr);
...@@ -883,8 +883,8 @@ redo: ...@@ -883,8 +883,8 @@ redo:
default: default:
LOG_FATAL("Got unknown type event: %ld", evt.type); LOG_FATAL("Got unknown type event: %ld", evt.type);
return; return;
// clang-format on
} }
// clang-format on
goto redo; goto redo;
#undef __ATTR_IS_STATE #undef __ATTR_IS_STATE
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter