diff options
author | Uri Lublin <uril@redhat.com> | 2013-07-08 19:38:19 +0300 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2013-07-16 23:37:27 +0300 |
commit | 694f4b9e5797af60e1586c2a99c19671483e5b44 (patch) | |
tree | 67f127b6fb2a3eeff3e2fadbc7199888380ba4fa /autogen.sh | |
parent | ff03d8dd2a4827c3b81657a1b9b3c9767481bba2 (diff) | |
download | spice-694f4b9e5797af60e1586c2a99c19671483e5b44.tar.gz spice-694f4b9e5797af60e1586c2a99c19671483e5b44.tar.xz spice-694f4b9e5797af60e1586c2a99c19671483e5b44.zip |
server/tests: fix produce_command for create surface
Earlier in this function, test->target_surface is set to 1, which
is the only allowed non-primary surface currently.
If surface parameters are given (and specifically data is checked)
they are being used, otherwise a default surface is used.
Earlier in this function, "command" is set to a non-NULL value.
Thus, the else part was unreachable code, which is fixed now.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions