diff options
| author | Nguyễn Gia Phong <cnx@loang.net> | 2025-10-17 07:41:10 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-10-17 07:41:10 +0900 |
| commit | 3a2e8fd0b06ebb738d9d4677659249e05b09e7cb (patch) | |
| tree | 46e7ab24161958d60fb980dd1e28096c0fb28dd6 /jump.c | |
| parent | 663ea12374e958fa83ac7e1b439dd6ab22bb59ed (diff) | |
| download | taosc-3a2e8fd0b06ebb738d9d4677659249e05b09e7cb.tar.gz | |
Give up fancy things 0.0.3.dev1
Diffstat (limited to 'jump.c')
| -rw-r--r-- | jump.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jump.c b/jump.c index 5110ae9..23d9801 100644 --- a/jump.c +++ b/jump.c @@ -28,14 +28,14 @@ static const void *destination; */ static uint64_t getenvull(const char *name) { - const char *const s = getenv(name); - if (s == NULL) + const char *const str = getenv(name); + if (str == NULL) return 0ULL; errno = 0; - const uint64_t u = strtoull(s, NULL, 0); + const uint64_t ull = strtoull(str, NULL, 0); if (errno) return 0ULL; - return u; + return ull; } void init(int argc, const char *const *argv, char **envp) |
