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.
This commit is contained in:
parent
7c139633a1
commit
feadd5f321
10
HACKING
10
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user