Can't understand warnings in this simple PL/SQL function
I am using Oracle 10g with SqlDeveloper. When I execute the following code, it says
"FUNCTION wafadar compiled Warning: execution completed with warning"create or replace function wafadar
cursor c1 is
SELECT employee_id,first_name FROM employees WHERE department_id=50 ;
for i in c1
SHOW ERRORS at the end is also not showing the warnings. Why are the warnings there?