add dynamic version to build via meson

remove unused arg in misc
mark arg as unused in addtax
update translations
This commit is contained in:
2018-09-25 16:36:01 -03:00
parent 8e5ddc62e7
commit 43ea64918b
10 changed files with 44 additions and 26 deletions

View File

@@ -3,13 +3,13 @@
#include <ctype.h>
#include <stdlib.h>
bool is_float(const char *s, float dest) {
if (s == NULL) {
bool is_float(const char *string) {
if (string == NULL) {
return false;
}
char *endptr;
dest = (float) strtod(s, &endptr);
if (s == endptr) {
strtod(string, &endptr);
if (string == endptr) {
return false;
}
while (isspace((unsigned char ) *endptr)) {