Fingerprint Based Biometric Voting Machine using Arduino

Hello I have a problem with the code

C:\Users\ali\AppData\Local\Temp\arduino_modified_sketch_183973\sketch_jan27b.ino: In function 'uint8_t getFingerprintEnroll()':

=================================================================

C:\Users\ali\AppData\Local\Temp\arduino_modified_sketch_183973\sketch_jan27b.ino:405:7: warning: return-statement with no value, in function returning 'uint8_t {aka unsigned char}' [-fpermissive]

return;

(deleted)