Mercurial > octave
diff scripts/image/private/colorspace_conversion_input_check.m @ 20676:1672bb8882dd
Remove unused arguments in private functions for colorspace arguments.
* scripts/image/private/colorspace_conversion_revert.m: originally, this
function made use of the cls argument but not anymore since a5ed88c9eb14.
* scripts/image/private/colorspace_conversion_input_check.m: no longer
return cls argument which not needed.
* scripts/image/hsv2rgb.m, scripts/image/ntsc2rgb.m, scripts/image/rgb2hsv.m,
scripts/image/rgb2ntsc.m: fix calls to the modified private functions.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Tue, 03 Nov 2015 18:26:58 +0000 |
parents | 67e6343cd29a |
children | b571fc85953f |
line wrap: on
line diff
--- a/scripts/image/private/colorspace_conversion_input_check.m Tue Nov 03 18:21:02 2015 +0000 +++ b/scripts/image/private/colorspace_conversion_input_check.m Tue Nov 03 18:26:58 2015 +0000 @@ -21,7 +21,7 @@ ## handle input in the same way. The returned flags are meant to be handled ## by the complementary private function colorspace_conversion_revert() -function [in_arg, cls, sz, is_im, is_nd] ... +function [in_arg, sz, is_im, is_nd] ... = colorspace_conversion_input_check (func, arg_name, in_arg) cls = class (in_arg);