diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-11 14:47:45 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-11 14:48:00 +0200 |
commit | 5692da47bef5402d37e131c1d55fbad864bd066d (patch) | |
tree | dc004a7daf95190fb2d28d548ec176f78924b91c /zyklonb.c | |
parent | c3d39dab5b0acdcd971e5365fb1967cbf243bcce (diff) | |
download | xK-5692da47bef5402d37e131c1d55fbad864bd066d.tar.gz xK-5692da47bef5402d37e131c1d55fbad864bd066d.tar.xz xK-5692da47bef5402d37e131c1d55fbad864bd066d.zip |
Fix various issues reported by Coverity
Diffstat (limited to 'zyklonb.c')
-rw-r--r-- | zyklonb.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -673,13 +673,12 @@ prepare_recovery_environment (void) break; } - if (iter) + if (*iter) g_startup_reason_location = iter; else { + g_startup_reason_location = g_recovery_env.vector + g_recovery_env.len; str_vector_add (&g_recovery_env, ""); - g_startup_reason_location = - g_recovery_env.vector + g_recovery_env.len - 1; } } |