Skip to content

Commit

Permalink
Dead code removal in client/src (#51)
Browse files Browse the repository at this point in the history
* Update style checker to support four-space indent

Update checkpatch.pl to support four-space indentation since that
is the convention used in this project. Otherwise we get false
warnings like this:

 WARNING: suspect code indent for conditional statements (8, 12)
 #310: FILE: client/src/unifycr-stdio.c:2523:
 +        if (p > buf) {
              (void) ungetc(*(u_char *)--p, (FILE *)fp);

* Clean up dead code in client/src/unifycr-stdio.c

Remove commented out code blocks and fix a few code formatting
issues in client/src/unifycr-stdio.c. This is to improve code
readability.

* Clean up dead code in client/src/unifycr.c

Remove commented out code in client/src/unifycr.c to improve
readability. This leaves behind stubbed out functions that
presumably need to be implemented. We will open github issues
to track that work and link to this commit in case the removed
code is needed for reference.
  • Loading branch information
nedbass authored and adammoody committed Dec 21, 2017
1 parent 4aa0065 commit 75543ec
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 357 deletions.
Loading

0 comments on commit 75543ec

Please sign in to comment.