From feadd5f321709337dca465c40d83a94a4ebef006 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Tue, 1 Sep 2009 09:42:33 +0200 Subject: [PATCH] always braces and else and brace on the same line removed I don't follow those particular guidelines myself so I think I'd rather remove them here and keep my style than the opposite. As I am the most frequent writer of code for the moment. --- HACKING | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/HACKING b/HACKING index d885049..71dac9b 100644 --- a/HACKING +++ b/HACKING @@ -9,14 +9,4 @@ libssh2 source code style guide: go_nuts(); } - - write both braces on the else line: - - if (banana) { - go_nuts(); - } else { - stay_calm(); - } - - - use braces even for single-statement blocks - - keep source lines shorter than 80 columns