mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove various unnecessary (char *) casts
Remove a number of (char *) casts that are unnecessary. Or in some cases, rewrite the code to make the purpose of the cast clearer. Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org
This commit is contained in:
@ -410,7 +410,7 @@ ltxtq_in(PG_FUNCTION_ARGS)
|
||||
{
|
||||
ltxtquery *res;
|
||||
|
||||
if ((res = queryin((char *) PG_GETARG_POINTER(0), fcinfo->context)) == NULL)
|
||||
if ((res = queryin(PG_GETARG_POINTER(0), fcinfo->context)) == NULL)
|
||||
PG_RETURN_NULL();
|
||||
PG_RETURN_POINTER(res);
|
||||
}
|
||||
|
Reference in New Issue
Block a user