]> granicus.if.org Git - postgresql/commitdiff
Remove unused variable.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Feb 2015 05:47:28 +0000 (00:47 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Feb 2015 05:47:28 +0000 (00:47 -0500)
Per buildfarm.

src/backend/utils/adt/array_userfuncs.c

index 5c20d0c9d03c63aa61e9dfc4ae149a051a1917fc..7f7c2569861564dae8cf85318940735cd0ad4460 100644 (file)
@@ -138,8 +138,7 @@ array_prepend(PG_FUNCTION_ARGS)
        Datum           newelem;
        bool            isNull;
        ArrayType  *result;
-       int                *dimv,
-                          *lb;
+       int                *lb;
        int                     indx;
        ArrayMetaState *my_extra;
 
@@ -154,7 +153,6 @@ array_prepend(PG_FUNCTION_ARGS)
        {
                /* prepend newelem */
                lb = ARR_LBOUND(v);
-               dimv = ARR_DIMS(v);
                indx = lb[0] - 1;
 
                /* overflow? */