Commit c180a214 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Ulrich Sibiller

security.c: fix compiler warnings

parent 185fbdaf
...@@ -148,7 +148,7 @@ int (*SwappedUntrustedProcVector[256])( ...@@ -148,7 +148,7 @@ int (*SwappedUntrustedProcVector[256])(
* try a set of well known paths. * try a set of well known paths.
*/ */
const char *_NXGetPolicyFilePath(const char *path) char *_NXGetPolicyFilePath(const char *path)
{ {
struct stat SecurityPolicyStat; struct stat SecurityPolicyStat;
...@@ -1345,7 +1345,6 @@ SecurityCensorImage(client, pVisibleRegion, widthBytesLine, pDraw, x, y, w, h, ...@@ -1345,7 +1345,6 @@ SecurityCensorImage(client, pVisibleRegion, widthBytesLine, pDraw, x, y, w, h,
unsigned int format; unsigned int format;
char * pBuf; char * pBuf;
{ {
ScreenPtr pScreen = pDraw->pScreen;
RegionRec imageRegion; /* region representing x,y,w,h */ RegionRec imageRegion; /* region representing x,y,w,h */
RegionRec censorRegion; /* region to obliterate */ RegionRec censorRegion; /* region to obliterate */
BoxRec imageBox; BoxRec imageBox;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment