Skip to content

Variable 'imageOrientation' is used uninitialized whenever switch default is taken #4

Description

@web-differently

pls i have error in default inscructions

UIImageOrientation imageOrientation;
switch ([UIApplication sharedApplication].statusBarOrientation) {
    case UIInterfaceOrientationLandscapeLeft:
        imageOrientation = UIImageOrientationRight;
        break;
    case UIInterfaceOrientationLandscapeRight:
        imageOrientation = UIImageOrientationLeft;
        break;
    case UIInterfaceOrientationPortrait:
        imageOrientation = UIImageOrientationUp;
        break;
    case UIInterfaceOrientationPortraitUpsideDown:
        imageOrientation = UIImageOrientationDown;
        break;
    default:
        break;

/DECompose/DEComposeViewController.m:152:9: Variable 'imageOrientation' is used uninitialized whenever switch default is taken

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions