summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-13 21:26:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-16 12:19:49 +0200
commitf03310eac0162c8b582a0f5f6cb0489d29aaa488 (patch)
tree146f5e5d56ac7ec3a5e98d64704e999a27ea7539 /solenv
parentf0d07c5b84300e508d49dfceb968cb6a0dae436c (diff)
loplugin:sequentialassign in sfx2..solenv
Change-Id: I57e11d45aad48713b7c6802e2b6976fd916fc6ba Reviewed-on: https://gerrit.libreoffice.org/70717 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/concat-deps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 8f1ea492b9cd..8ed3ea074dab 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -583,9 +583,7 @@ static int hash_store(struct hash* hash, const char* key, int key_len)
static int file_stat(const char* name, struct stat* buffer_stat, int* rc)
{
- int rc_local = 0;
-
- rc_local = stat(name, buffer_stat);
+ int rc_local = stat(name, buffer_stat);
if (rc_local < 0)
{
*rc = errno;