2. "It is a well-settled rule of practice and procedure that where one, as here, has been convicted of crime, habeas corpus cannot be used as a substitute for appeal or other remedial procedure for the correction of errors and irregularities; nor can it be used as a second appeal for such purpose. It is an appropriate remedy only when the judgment or sentence under which applicant is being restrained is not merely erroneous but is absolutely void." Ferguson v. Balkcom, 222 Ga. 676
, 677 (151 SE2d 707
) and cit.; Bonner v. Smith, 226 Ga. 250 (3) (174 SE2d 438)
. "It is not the function of the writ of habeas corpus to determine the guilt or innocence of one accused of crime," or to review the sufficiency of the evidence to support a conviction. Bush v. Chappell, 225 Ga. 659
, 660 (171 SE2d 128
) and cit. It is not shown in this case that the judgment or sentence under which applicant is being restrained is erroneous, much less void. Enumerated error 2 is without merit.
3. The appointment of an attorney in a habeas corpus case is not required; therefore, failure to appoint counsel in such case was not error. Croker v. Smith, 225 Ga. 529
, 530 (169 SE2d 787
). Enumerated error 3 is without merit.
The court did not err in its judgment remanding the petitioner to the warden.