]> git.saurik.com Git - cydia.git/commitdiff
I am trying to get the habit of always using auto.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 5 Jul 2015 07:59:35 +0000 (00:59 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 5 Jul 2015 07:59:35 +0000 (00:59 -0700)
cydo.cpp

index 05327df7257e523673217cc41bd3c99c516d315b..168d3c8a16239a68d0051c439839f35343feff02 100644 (file)
--- a/cydo.cpp
+++ b/cydo.cpp
@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) {
 
         auto variables(launch_data_dict_lookup(value, LAUNCH_JOBKEY_ENVIRONMENTVARIABLES));
         if (variables != NULL && launch_data_get_type(variables) == LAUNCH_DATA_DICTIONARY) {
-            bool dyld(false);
+            auto dyld(false);
 
             launch_data_dict_iterate(variables, [&dyld](const char *name, launch_data_t value) {
                 if (strncmp(name, "DYLD_", 5) == 0)