diff options
| author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-05-24 18:45:57 -0400 |
|---|---|---|
| committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-05-24 18:57:50 -0400 |
| commit | 4a563fe3005995d76cd987554e060e5fb96063a0 (patch) | |
| tree | bb7074284e220bdd0b66c9a2568c830c0ce330b3 /docs/plot | |
| parent | 5f03cc76126835b81ced3d9eaa65edc0fc5d2749 (diff) | |
| download | PROJ-4a563fe3005995d76cd987554e060e5fb96063a0.tar.gz PROJ-4a563fe3005995d76cd987554e060e5fb96063a0.zip | |
Remove confusing macros.
The upper-case macro `VAR` casts the lower-case variable `var` to an
expected type, but that usage obfuscates the variables to the casual
reader. This is especially prevalent in the allocation function in which
`var` is the correct type already, so both `var` and `VAR` are valid
*and* in use.
In any case, for those functions that don't obtain `var` in the correct
type from their parameters, it's much simpler to just case once at the
beginning.
Diffstat (limited to 'docs/plot')
0 files changed, 0 insertions, 0 deletions
