Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ditch useless unions in dird config.
In essence they save a maximum of one pointer value which is not worth the side effect it has for printing a config data. To be able to determine what data is actual in the union you need an extra variable describing what is the pointer about so then there is little value left in using an union.
- Loading branch information
Marco van Wieringen
committed
Feb 17, 2015
1 parent
dd9180e
commit ed5f1be
Showing
2 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters