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:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user