diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-10-03 12:13:21 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-10-03 12:13:21 +0300 |
commit | 17df5ad61397fb12bb2cc9a94798de97266afd9e (patch) | |
tree | 84f2b1369ef23a12b6f572eb7b582e32628f6b10 /lib | |
parent | 9cfb380cc4529ea6b9314cc67819069c8e9c1a23 (diff) | |
download | rpm-17df5ad61397fb12bb2cc9a94798de97266afd9e.tar.gz rpm-17df5ad61397fb12bb2cc9a94798de97266afd9e.tar.bz2 rpm-17df5ad61397fb12bb2cc9a94798de97266afd9e.zip |
Remove unnecessary {} block + indentation, no functional changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psm.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -550,12 +550,10 @@ static rpmRC runLuaScript(rpmpsm psm, Header h, rpmTag stag, ARGV_t argv, var = rpmluavFree(var); rpmluaPop(lua); - { - if (rpmluaRunScript(lua, script, sname) == -1) { - void * ptr; - ptr = rpmtsNotify(ts, psm->te, RPMCALLBACK_SCRIPT_ERROR, stag, 1); - rc = RPMRC_FAIL; - } + if (rpmluaRunScript(lua, script, sname) == -1) { + void * ptr; + ptr = rpmtsNotify(ts, psm->te, RPMCALLBACK_SCRIPT_ERROR, stag, 1); + rc = RPMRC_FAIL; } rpmluaDelVar(lua, "arg"); |