diff options
author | 2015-01-23 13:18:40 +0000 | |
---|---|---|
committer | 2015-01-23 13:18:40 +0000 | |
commit | 7f5855dc00905546eba6e62ce5907da713fbf4c0 (patch) | |
tree | 47e05a48aeddd7c8a79f19b2458d11294900bb1f /lib/libform/fty_regex.c | |
parent | Normal OpenBSD code fits in an 80 column term. From Jim Smith, ok dlg. (diff) | |
download | wireguard-openbsd-7f5855dc00905546eba6e62ce5907da713fbf4c0.tar.xz wireguard-openbsd-7f5855dc00905546eba6e62ce5907da713fbf4c0.zip |
remove a bunch of dangerous casts (useless casts from void * to something
else, in some cases by adding extra temporary variables.
IMO, it's much better practice to do
void *a;
int *p = a;
*p = 42;
rather than
void *a;
*(int *)a = 42;
okay miod@... to be revisited for some possible const additions later.
Diffstat (limited to 'lib/libform/fty_regex.c')
0 files changed, 0 insertions, 0 deletions