summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-06-12 00:15:11 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-06-12 00:15:11 -0700
commit8dcc32d4151a11cf38752077dae0e19ad00b6000 (patch)
treef855c9c3ceb7380cd488b8ef4b5c942fd85ffe90
parent1c28763e8f130cbaa2c5652a19bfe16215e50e21 (diff)
Just in case, I want to initialize this variable.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 8306fde..4770101 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -10338,7 +10338,7 @@ int main(int argc, char *argv[]) {
else
Machine_ = machine;
- int64_t usermem;
+ int64_t usermem(0);
size = sizeof(usermem);
if (sysctlbyname("hw.usermem", &usermem, &size, NULL, 0) == -1)
usermem = 0;