Mercurial > octave
changeset 23867:02fbed0e87d5
hdl2struct.m: Fix typo creating unused variable (bug #51722).
* hdl2struct.m: Rename variable "idx2" to "idx".
author | Rik <rik@octave.org> |
---|---|
date | Thu, 10 Aug 2017 11:00:34 -0700 |
parents | 4f68899f9e5b |
children | b3d59e080eae |
files | scripts/plot/util/hdl2struct.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/hdl2struct.m Thu Aug 10 09:31:38 2017 -0700 +++ b/scripts/plot/util/hdl2struct.m Thu Aug 10 11:00:34 2017 -0700 @@ -98,7 +98,7 @@ cb = findobj (par, "-depth", 1, "tag", "colorbar"); if (! isempty (cb)) ## identify colorbars which are attached to this axes. - idx2 = ([get(cb).axes] == h); + idx = ([get(cb).axes] == h); cb = cb(idx); endif ncb = length (cb);