diff options
author | Aaron Gyes <me@aaron.gy> | 2016-06-10 07:39:05 -0700 |
---|---|---|
committer | Aaron Gyes <me@aaron.gy> | 2016-06-10 08:02:12 -0700 |
commit | c4e322d3ad04fbaa9d33bfbb086a7d387011da5e (patch) | |
tree | b29b1f93355464525460fe482bd33ef3be2ce181 /share | |
parent | 222a07e907c239f7dab541512b109730a07828dc (diff) |
Fix crash when fish_indent is using stdin with -w
When given no path, the logic was happy to try to use
an unitialized output_location.
$ fish_indent -w < test.fish
Opening "(null)" failed: Bad address
Initialize the string, and repair the logic to catch this case
and report the problem correctly.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions