You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: fftn_comp.m
    path of file: ./repos/MATL/compatibility
    
    the code of the file until where you have to start completion: function y = fftn(varargin)
% For two inputs, if second input has a zero it gives an empty result with the
% size specified by the second input, like Matlab does, instead of giving
% an error

    
function y = fftn(varargin)
% For two inputs, if second input has a zero it gives an empty result with the
% size specified by the second input, like Matlab does, instead of giving
% an error
if nargin==2 && any(varargin{2}==0)
    y = ones(varargin{2});
else
    y = builtin('fftn', varargin{:});
end